/home/vianto5/hidalgoresidences.mx/wp-content/plugins/wpml-wpforms
NameSizeModeActions
classes/-0755rm
vendor/-0755rm
license.txt351470644editdlrm
plugin.php19720644editdlrm
readme.txt460644editdlrm
wpml-config.xml2800644editdlrm
wpml-dependencies.json450644editdlrm
wpml-forms-config.xml33220644editdlrm
Edit: /home/vianto5/hidalgoresidences.mx/wp-content/plugins/wpml-wpforms/plugin.php (1972B)
Documentation * Author: OnTheGoSystems * Author URI: https://www.onthegosystems.com/ * Version: 0.5.1 * Plugin Slug: wpml-wpforms */ define( 'WPML_WP_FORMS_VERSION', '0.5.1' ); define( 'WPML_WP_FORMS_FILE', __FILE__ ); define( 'WPML_WP_FORMS_PATH', dirname( WPML_WP_FORMS_FILE ) ); define( 'WPML_WP_FORMS_VENDOR_PATH', WPML_WP_FORMS_PATH . '/vendor' ); /** * 1. Initialize the code shared in `wpml/forms`. */ require_once WPML_WP_FORMS_VENDOR_PATH . '/wpml/forms/loader.php'; wpml_forms_initialize( WPML_WP_FORMS_VENDOR_PATH . '/wpml/forms', untrailingslashit( plugin_dir_url( WPML_WP_FORMS_FILE ) ) . '/vendor/wpml/forms' ); function wpml_wpforms_activation_hook() { update_option( wpml_forms_bulk_registration_option_name( WPML_WP_FORMS_FILE ), true ); } register_activation_hook( WPML_WP_FORMS_FILE, 'wpml_wpforms_activation_hook' ); /** * 2. Initialize WPML WP Forms' code. */ add_action( 'plugins_loaded', function () { $hasWPMLRequirements = function () { if ( ! class_exists( WPML_Core_Version_Check::class ) ) { require_once WPML_WP_FORMS_VENDOR_PATH . '/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-core-version-check.php'; } return WPML_Core_Version_Check::is_ok( WPML_WP_FORMS_PATH . '/wpml-dependencies.json' ); }; if ( $hasWPMLRequirements() ) { /** @see \WPML\Forms\WPForms\SharedAPI\Status::INIT_ACTION */ add_action( 'wpforms_loaded', function () { require_once WPML_WP_FORMS_VENDOR_PATH . '/autoload.php'; \WPML\Forms\WPForms\App::init(); } ); } }, 9 );