Cannot hide Authorial Info by using hooks
-
I used the hooks below and place it on functions.php but it doesn’t return any effect
add_action( 'the_seo_framework_after_admin_init', function() { $tsf = the_seo_framework(); remove_action( 'show_user_profile', [ $tsf, '_add_user_author_fields' ], 0 ); remove_action( 'edit_user_profile', [ $tsf, '_add_user_author_fields' ], 0 ); remove_action( 'personal_options_update', [ $tsf, '_update_user_settings' ], 10 ); remove_action( 'edit_user_profile_update', [ $tsf, '_update_user_settings' ], 10 ); } );- This topic was modified 4 years, 3 months ago by .
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Cannot hide Authorial Info by using hooks’ is closed to new replies.