= 0 ) { $autoloader = $autoloader_dir . '/autoload.php'; } else { $autoloader = $autoloader_dir . '/autoload_52.php'; } require_once $autoloader; $WPML_ACF = new WPML_ACF(); $WPML_ACF = $WPML_ACF->init_worker(); add_action('admin_enqueue_scripts', 'acfml_enqueue_scripts'); function acfml_enqueue_scripts() { if (is_admin()) { wp_enqueue_script('acfml_js', plugin_dir_url(__FILE__) . 'assets/js/admin-script.js', array('jquery')); } }