model->has_languages() ) { // Run only if Polylang (and its API) is loaded, and if there is at least one language. return; } PLL_Integrations::instance()->acf = new Main(); add_action( 'acf/init', array( PLL_Integrations::instance()->acf, 'on_acf_init' ) ); } );