Hello 🙂 There are hooks which you can unbind, as shown in the snippet below.
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 );
} );
The snippet works in plugins, and it should work in themes, too.
Thread Starter
tye
(@tye)
Thanks Sybre – sorry I didn’t get notified of your reply 🙂