Filter yoast canonical add_action priority [closed]
You would need to look in the Yoast plugin to find what the global class is that is referred to as $this, so that you can access it outside the class context. If it was for example, $wpseo, in your functions.php you could do something like: $wpseo = WPSEO_Frontend::get_instance(); remove_action( ‘wpseo_head’, array( $wpseo, ‘canonical’ ), … Read more