Disabling Yoast, All-in-One, and Rank Math on Certain Pages within a Plugin

For anyone that may be interested, I was able to solve this using the following code in mp_custom_page_title:

// JetPack
remove_action('wp_head','jetpack_og_tags');

// Yoast SEO
if (defined('WPSEO_VERSION'))
{
    global $wpseo_front;
    if (defined($wpseo_front))
    {
        remove_action('wp_head',array($wpseo_front,'head'),1);
    }
    else
    {
        $wp_thing = WPSEO_Frontend::get_instance();
        remove_action('wp_head',array($wp_thing,'head'),1);
    }
    add_filter('wpseo_opengraph_url','__return_false');
    add_filter('wpseo_opengraph_desc','__return_false');
    add_filter('wpseo_opengraph_title','__return_false');
    add_filter('wpseo_opengraph_type','__return_false');
    add_filter('wpseo_opengraph_site_name','__return_false');
    add_filter('wpseo_opengraph_image','__return_false');
    add_filter('wpseo_opengraph_author_facebook','__return_false');
    add_filter('Yoast\WP\Woocommerce\product_condition','__return_false');
}

// All-In-One SEO
if (defined('AIOSEOP_VERSION'))
{
    remove_action('wp_head',array($aiosp,'wp_head'));
}

remove_action('wp_head','rel_canonical');
remove_action('wp_head','index_rel_link');
remove_action('wp_head','start_post_rel_link');
remove_action('wp_head','adjacent_posts_rel_link_wp_head');

There are a list of useful Yoast functions here: https://gist.github.com/amboutwe/811e92b11e5277977047d44ea81ee9d4

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)