File "load.php"

Full Path: /home/alforbsx/alfouadgroup.co/wp-content/plugins/polylang/integrations/custom-field-template/load.php
File size: 371 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Loads the integration with Custom Field Template.
 *
 * @package Polylang
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Don't access directly.
}

add_action(
	'plugins_loaded',
	function () {
		if ( class_exists( 'custom_field_template' ) ) {
			PLL_Integrations::instance()->cft = new PLL_Cft();
			PLL_Integrations::instance()->cft->init();
		}
	},
	0
);