Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/leadin
File: leadin.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Leadin;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Plugin Name: HubSpot All-In-One Marketing - Forms, Popups, Live Chat
[5] Fix | Delete
* Plugin URI: http://www.hubspot.com/integrations/wordpress
[6] Fix | Delete
* Description: HubSpot’s official WordPress plugin allows you to add forms, popups, and live chat to your website and integrate with the best WordPress CRM.
[7] Fix | Delete
* Version: 11.1.22
[8] Fix | Delete
* Author: HubSpot
[9] Fix | Delete
* Author URI: http://hubspot.com/products/wordpress
[10] Fix | Delete
* License: GPL v3
[11] Fix | Delete
* Text Domain: leadin
[12] Fix | Delete
* Domain Path: /languages/
[13] Fix | Delete
*
[14] Fix | Delete
* This program is free software: you can redistribute it and/or modify
[15] Fix | Delete
* it under the terms of the GNU General Public License as published by
[16] Fix | Delete
* the Free Software Foundation, either version 3 of the License, or
[17] Fix | Delete
* (at your option) any later version.
[18] Fix | Delete
*
[19] Fix | Delete
* This program is distributed in the hope that it will be useful,
[20] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[21] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[22] Fix | Delete
* GNU General Public License for more details.
[23] Fix | Delete
*
[24] Fix | Delete
* You should have received a copy of the GNU General Public License
[25] Fix | Delete
* along with this program. If not, see <http://www.gnu.org/licenses/>.
[26] Fix | Delete
*/
[27] Fix | Delete
[28] Fix | Delete
// =============================================
[29] Fix | Delete
// Define Constants
[30] Fix | Delete
// =============================================
[31] Fix | Delete
if ( ! defined( 'LEADIN_BASE_PATH' ) ) {
[32] Fix | Delete
define( 'LEADIN_BASE_PATH', __FILE__ );
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
if ( ! defined( 'LEADIN_PATH' ) ) {
[36] Fix | Delete
define( 'LEADIN_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) ) );
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
if ( ! defined( 'LEADIN_ASSETS_PATH' ) ) {
[40] Fix | Delete
define( 'LEADIN_ASSETS_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) . '/public/assets' ) );
[41] Fix | Delete
}
[42] Fix | Delete
[43] Fix | Delete
if ( ! defined( 'LEADIN_JS_BASE_PATH' ) ) {
[44] Fix | Delete
define( 'LEADIN_JS_BASE_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) . '/build' ) );
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
if ( ! defined( 'LEADIN_PLUGIN_DIR' ) ) {
[48] Fix | Delete
define( 'LEADIN_PLUGIN_DIR', untrailingslashit( dirname( LEADIN_BASE_PATH ) ) );
[49] Fix | Delete
}
[50] Fix | Delete
[51] Fix | Delete
if ( ! defined( 'LEADIN_REQUIRED_WP_VERSION' ) ) {
[52] Fix | Delete
define( 'LEADIN_REQUIRED_WP_VERSION', '5.8' );
[53] Fix | Delete
}
[54] Fix | Delete
[55] Fix | Delete
if ( ! defined( 'LEADIN_REQUIRED_PHP_VERSION' ) ) {
[56] Fix | Delete
define( 'LEADIN_REQUIRED_PHP_VERSION', '7.2' );
[57] Fix | Delete
}
[58] Fix | Delete
[59] Fix | Delete
if ( ! defined( 'LEADIN_PLUGIN_VERSION' ) ) {
[60] Fix | Delete
define( 'LEADIN_PLUGIN_VERSION', '11.1.22' );
[61] Fix | Delete
}
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
if ( ! defined( 'LEADIN_PREFIX' ) ) {
[65] Fix | Delete
define( 'LEADIN_PREFIX', 'leadin' );
[66] Fix | Delete
}
[67] Fix | Delete
[68] Fix | Delete
// =============================================
[69] Fix | Delete
// Set autoload
[70] Fix | Delete
// =============================================
[71] Fix | Delete
require_once LEADIN_PLUGIN_DIR . '/vendor/autoload.php';
[72] Fix | Delete
require_once ABSPATH . 'wp-admin/includes/plugin.php';
[73] Fix | Delete
[74] Fix | Delete
[75] Fix | Delete
use \Leadin\Leadin;
[76] Fix | Delete
[77] Fix | Delete
$leadin = new Leadin();
[78] Fix | Delete
[79] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function