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/wp-conte.../plugins/popup-ma.../includes
File: integrations.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Initialize Integrations
[2] Fix | Delete
*
[3] Fix | Delete
* @package PUM
[4] Fix | Delete
* @copyright Copyright (c) 2023, Code Atlantic LLC
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
// Exit if accessed directly
[8] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[9] Fix | Delete
exit;
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
// Ninja Forms Integration
[13] Fix | Delete
require_once 'integrations/class-pum-ninja-forms.php';
[14] Fix | Delete
[15] Fix | Delete
function pum_initialize_integrations() {
[16] Fix | Delete
// WooCommerce Integration
[17] Fix | Delete
if ( function_exists( 'WC' ) || class_exists( 'WooCommerce' ) ) {
[18] Fix | Delete
require_once 'integrations/class-pum-woocommerce-integration.php';
[19] Fix | Delete
PUM_Woocommerce_Integration::init();
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
// BuddyPress Integration
[23] Fix | Delete
if ( function_exists( 'buddypress' ) || class_exists( 'BuddyPress' ) ) {
[24] Fix | Delete
require_once 'integrations/class-pum-buddypress-integration.php';
[25] Fix | Delete
PUM_BuddyPress_Integration::init();
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
// CF7 Forms Integration
[29] Fix | Delete
if ( class_exists( 'WPCF7' ) || ( defined( 'WPCF7_VERSION' ) && WPCF7_VERSION ) ) {
[30] Fix | Delete
require_once 'integrations/class-pum-cf7.php';
[31] Fix | Delete
PUM_CF7_Integration::init();
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
// Gravity Forms Integration
[35] Fix | Delete
if ( class_exists( 'RGForms' ) ) {
[36] Fix | Delete
require_once 'integrations/class-pum-gravity-forms.php';
[37] Fix | Delete
PUM_Gravity_Forms_Integation::init();
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
// WPML Integration
[41] Fix | Delete
if ( defined( 'ICL_SITEPRESS_VERSION' ) && ICL_SITEPRESS_VERSION ) {
[42] Fix | Delete
require_once 'integrations/class-pum-wpml.php';
[43] Fix | Delete
PUM_WPML_Integration::init();
[44] Fix | Delete
}
[45] Fix | Delete
}
[46] Fix | Delete
add_action( 'init', 'pum_initialize_integrations' );
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function