I’m using a theme that gets updated pretty frequently. For this, it has added a custom.php file to include modifications. Now, in this theme, under the functions.php, the developer has included his own meta section which is added using the following function:
add_action('wp_head', 'theme_metas');
I want to let my SEO plugin manage this, so I tried adding this into the custom.php:
remove_action('wp_head', 'theme_metas', 15);
I even tried altering the priority higher and lower than 10 (which is default) but the metas are still showing. Can someone shed some light please?