wpcargo_fields_option_settings_group
This action hooks allow the user to add additional settings fields under the WPCargo General settings page.
Check the following code on how to add additional settings fields. copy and paste the following code to the theme functions.php file.
// Create Custom Settings form field function my_custom_settings_field(){ ?> <tr> <th>My Custom Setting</th> <td><input type="text" name="my_custom_setting" id="my_custom_setting" placeholder="Custom Settings" value="<?php echo get_option('my_custom_setting'); ?>"></td> </tr> <?php } add_action( 'wpcargo_fields_option_settings_group', 'my_custom_settings_field', 10, 1 ); // Register settings option function my_custom_register_setting_field_option(){ register_setting( 'wpcargo_option_settings_group', 'my_custom_setting' ); } add_action( 'admin_init', 'my_custom_register_setting_field_option' );