Файловый менеджер - Редактировать - /home/onlin326/public_html/lead/wp-content/plugins/official-facebook-pixel/core/FacebookPluginConfig.php
Назад
<?php /* * Copyright (C) 2017-present, Facebook, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /** * @package FacebookPixelPlugin */ namespace FacebookPixelPlugin\Core; defined('ABSPATH') or die('Direct access not allowed'); class FacebookPluginConfig { const PLUGIN_VERSION = '3.0.5'; const SOURCE = 'wordpress'; const TEXT_DOMAIN = 'official-facebook-pixel'; const PLUGIN_NAME = 'Facebook for WordPress'; const PLUGIN_REVIEW_PAGE = 'https://wordpress.org/plugins/official-facebook-pixel/#reviews'; const ADMIN_CAPABILITY = 'manage_options'; const ADMIN_DISMISS_PIXEL_ID_NOTICE = 'dismiss_pixel_id_notice'; const ADMIN_IGNORE_PIXEL_ID_NOTICE = 'ignore_pixel_id_notice'; const ADMIN_DISMISS_SSAPI_NOTICE = 'dismiss_ssapi__notice'; const ADMIN_IGNORE_SSAPI_NOTICE = 'ignore_ssapi_notice'; const ADMIN_DISMISS_FBE_NOT_INSTALLED_NOTICE = 'dismiss_fbe_not_installed_notice'; const ADMIN_IGNORE_FBE_NOT_INSTALLED_NOTICE = 'ignore_fbe_not_installed_notice'; const ADMIN_DISMISS_PLUGIN_REVIEW_NOTICE = 'dismiss_plugin_review_notice'; const ADMIN_IGNORE_PLUGIN_REVIEW_NOTICE = 'ignore_plugin_review_notice'; const ADMIN_MENU_SLUG = 'facebook_pixel_options'; const ADMIN_MENU_TITLE = 'Facebook'; const ADMIN_OPTION_GROUP = 'facebook_option_group'; const ADMIN_PAGE_TITLE = 'Facebook Pixel Settings'; const ADMIN_PRIVACY_URL = 'https://developers.facebook.com/docs/privacy/'; const ADMIN_S2S_URL = 'https://developers.facebook.com/docs/marketing-api/conversions-api'; const ADMIN_SECTION_ID = 'facebook_settings_section'; const SETTINGS_KEY = 'facebook_business_extension_config'; const PIXEL_ID_KEY = 'facebook_pixel_id'; const ACCESS_TOKEN_KEY = 'facebook_access_token'; const EXTERNAL_BUSINESS_ID_KEY = 'facebook_external_business_id'; const IS_FBE_INSTALLED_KEY = 'facebook_is_fbe_installed'; const AAM_SETTINGS_KEY = 'facebook_pixel_aam_settings'; const DELETE_FBE_SETTINGS_ACTION_NAME = 'delete_fbe_settings'; const SAVE_FBE_SETTINGS_ACTION_NAME = 'save_fbe_settings'; // Keys used in the old settings const OLD_SETTINGS_KEY = 'facebook_config'; const OLD_PIXEL_ID_KEY = 'pixel_id'; const OLD_ACCESS_TOKEN_KEY = 'access_token'; const OLD_USE_PII = 'use_pii'; const DEFAULT_PIXEL_ID = null; const DEFAULT_ACCESS_TOKEN = null; const DEFAULT_EXTERNAL_BUSINESS_ID_PREFIX = 'fbe_wordpress_'; const DEFAULT_IS_FBE_INSTALLED = '0'; const IS_PIXEL_RENDERED = 'is_pixel_rendered'; const IS_NOSCRIPT_RENDERED = 'is_noscript_rendered'; // integration config: INTEGRATION_KEY => PLUGIN_CLASS public static function integrationConfig() { return array( 'CALDERA_FORM' => 'FacebookWordpressCalderaForm', 'CONTACT_FORM_7' => 'FacebookWordpressContactForm7', 'EASY_DIGITAL_DOWNLOAD' => 'FacebookWordpressEasyDigitalDownloads', 'FORMIDABLE_FORM' => 'FacebookWordpressFormidableForm', 'GRAVITY_FORMS' => 'FacebookWordpressGravityForms', 'MAILCHIMP_FOR_WP' => 'FacebookWordpressMailchimpForWp', 'NINJA_FORMS' => 'FacebookWordpressNinjaForms', 'WPFORMS' => 'FacebookWordpressWPForms', 'WP_E_COMMERCE' => 'FacebookWordpressWPECommerce', 'WOOCOMMERCE' => 'FacebookWordpressWooCommerce' ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка