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/accelera.../pagebuil.../modules
File: blurb-module.php
<?php
[0] Fix | Delete
// Exit if accessed directly.
[1] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) exit;
[2] Fix | Delete
$output = '<div {{if_id}}id="{{id}}"{{ifend_id}} class="amp_pb_module amp_blurb {{css_class}} {{user_class}}"><img src="{{blurb_image}}" width="{{image_width}}" height="{{image_height}}" layout="responsive"/>
[3] Fix | Delete
<h4>{{text_title}}</h4>
[4] Fix | Delete
<p>{{text_description}}</p>
[5] Fix | Delete
</div>';
[6] Fix | Delete
[7] Fix | Delete
return array(
[8] Fix | Delete
'label' =>'Blurb',
[9] Fix | Delete
'name' =>'blurb',
[10] Fix | Delete
'default_tab'=> 'customizer',
[11] Fix | Delete
'tabs' => array(
[12] Fix | Delete
'customizer'=>'Customizer',
[13] Fix | Delete
'container_css'=>'Container css',
[14] Fix | Delete
'advanced'=> 'Advanced'
[15] Fix | Delete
),
[16] Fix | Delete
'fields'=> array(
[17] Fix | Delete
array(
[18] Fix | Delete
'type' =>'text',
[19] Fix | Delete
'name' =>"text_title",
[20] Fix | Delete
'label' =>"Title",
[21] Fix | Delete
'tab' =>'customizer',
[22] Fix | Delete
'default' =>'Heart Of The Landing Page',
[23] Fix | Delete
'content_type'=>'html'
[24] Fix | Delete
),
[25] Fix | Delete
array(
[26] Fix | Delete
'type' =>'textarea',
[27] Fix | Delete
'name' =>"text_description",
[28] Fix | Delete
'label' =>"Description",
[29] Fix | Delete
'tab' =>'customizer',
[30] Fix | Delete
'default' =>'This is a sample text which is being used for the dummy purpose to avoid confusion.',
[31] Fix | Delete
'content_type'=>'html',
[32] Fix | Delete
),
[33] Fix | Delete
array(
[34] Fix | Delete
'type' =>'upload',
[35] Fix | Delete
'name' =>"blurb_image",
[36] Fix | Delete
'label' =>"Image",
[37] Fix | Delete
'tab' =>'customizer',
[38] Fix | Delete
'default' =>plugins_url('accelerated-mobile-pages/images/150x150.png'),
[39] Fix | Delete
'content_type'=>'html',
[40] Fix | Delete
),
[41] Fix | Delete
array(
[42] Fix | Delete
'type' => 'text',
[43] Fix | Delete
'name' => 'css_class',
[44] Fix | Delete
'label' => 'Custom CSS Class',
[45] Fix | Delete
'tab' =>'container_css',
[46] Fix | Delete
'default' => '',
[47] Fix | Delete
'content_type'=>'html',
[48] Fix | Delete
),
[49] Fix | Delete
array(
[50] Fix | Delete
'type' =>'text',
[51] Fix | Delete
'name' =>"id",
[52] Fix | Delete
'label' =>'ID',
[53] Fix | Delete
'tab' =>'advanced',
[54] Fix | Delete
'default' =>'',
[55] Fix | Delete
'content_type'=>'html'
[56] Fix | Delete
),
[57] Fix | Delete
array(
[58] Fix | Delete
'type' =>'text',
[59] Fix | Delete
'name' =>"user_class",
[60] Fix | Delete
'label' =>'Class',
[61] Fix | Delete
'tab' =>'advanced',
[62] Fix | Delete
'default' =>'',
[63] Fix | Delete
'content_type'=>'html'
[64] Fix | Delete
),
[65] Fix | Delete
),
[66] Fix | Delete
'front_template'=> $output,
[67] Fix | Delete
'front_css'=>'',
[68] Fix | Delete
'front_common_css'=>'',
[69] Fix | Delete
);
[70] Fix | Delete
?>
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function