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/themify-.../includes
File: themify-builder-popup-layout-provider.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Add Builder layouts bundled with the Popup plugin to Builder
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.0.0
[4] Fix | Delete
*/
[5] Fix | Delete
class Themify_Builder_Layouts_Provider_Themify_Popup extends Themify_Builder_Layouts_Provider {
[6] Fix | Delete
[7] Fix | Delete
public function get_id() {
[8] Fix | Delete
return 'themify-popup';
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
public function get_label() {
[12] Fix | Delete
return __( 'Themify Popup', 'themify' );
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Get a list of layouts from /builder-layouts/layouts.php file inside the theme
[17] Fix | Delete
*
[18] Fix | Delete
* @return array
[19] Fix | Delete
*/
[20] Fix | Delete
public function get_layouts() {
[21] Fix | Delete
return $this->get_layouts_from_file( THEMIFY_POPUP_DIR . 'sample/layouts.php' );
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
/**
[25] Fix | Delete
* Get the Builder data from a file in /builder-layouts directory in the theme
[26] Fix | Delete
*
[27] Fix | Delete
* @return array|WP_Error
[28] Fix | Delete
*/
[29] Fix | Delete
public function get_builder_data( $slug ) {
[30] Fix | Delete
return $this->get_builder_data_from_file( THEMIFY_POPUP_DIR . 'sample/' . $slug );
[31] Fix | Delete
}
[32] Fix | Delete
}
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function