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.../themes/Divi/includes/builder/plugin-c...
File: gravityforms.php
<?php
[0] Fix | Delete
[1] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[2] Fix | Delete
exit; // Exit if accessed directly
[3] Fix | Delete
}
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Plugin compatibility for Gravityforms
[7] Fix | Delete
*
[8] Fix | Delete
* @since 3.19
[9] Fix | Delete
*
[10] Fix | Delete
* @link https://www.gravityforms.com/
[11] Fix | Delete
*/
[12] Fix | Delete
class ET_Builder_Plugin_Compat_Gravityforms extends ET_Builder_Plugin_Compat_Base {
[13] Fix | Delete
/**
[14] Fix | Delete
* Constructor
[15] Fix | Delete
*/
[16] Fix | Delete
public function __construct() {
[17] Fix | Delete
$this->plugin_id = 'gravityforms/gravityforms.php';
[18] Fix | Delete
$this->init_hooks();
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
/**
[22] Fix | Delete
* Hook methods to WordPress
[23] Fix | Delete
*
[24] Fix | Delete
* @return void
[25] Fix | Delete
*/
[26] Fix | Delete
public function init_hooks() {
[27] Fix | Delete
$is_bfb = et_()->array_get( $_GET, 'et_bfb' );
[28] Fix | Delete
[29] Fix | Delete
// Load Gravity Form button in BFB
[30] Fix | Delete
if ( $is_bfb ) {
[31] Fix | Delete
add_filter( 'gform_display_add_form_button', '__return_true' );
[32] Fix | Delete
}
[33] Fix | Delete
}
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
new ET_Builder_Plugin_Compat_Gravityforms();
[37] Fix | Delete
[38] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function