Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function change_settings_position( $settings, $options ) {
- foreach ( $settings as $key => $setting ) {
- if ( $setting['section'] == 'main' ) {
- $settings[$key]['section'] = 'setup';
- }
- }
- return $settings;
- }
- add_filter( 'wpf_configure_settings', 'change_settings_position', 20, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement