: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'<div%3$s class="%4$s"%10$s%11$s>
<div class="et_pb_team_member_description">
</div> <!-- .et_pb_team_member_description -->
</div> <!-- .et_pb_team_member -->',
et_core_esc_previously( $image ),
$this->module_classname( $render_slug ),
et_core_esc_previously( $name ), // #5
et_core_esc_previously( $position ),
$parallax_image_background,
et_core_esc_previously( $data_background_layout ), // #10
et_core_esc_previously( $muti_view_data_attr )
* Check if image has svg extension
* @param string $image_url Image URL.
public function is_svg( $image_url ) {
$image_pathinfo = pathinfo( $image_url );
return isset( $image_pathinfo['extension'] ) ? 'svg' === $image_pathinfo['extension'] : false;
* Filter multi view value.
* @see ET_Builder_Module_Helper_MultiViewOptions::filter_value
* @param mixed $raw_value Props raw value.
* @type string $context Context param: content, attrs, visibility, classes.
* @type string $name Module options props name.
* @type string $mode Current data mode: desktop, hover, tablet, phone.
* @type string $attr_key Attribute key for attrs context data. Example: src, class, etc.
* @type string $attr_sub_key Attribute sub key that availabe when passing attrs value as array such as styes. Example: padding-top, margin-botton, etc.
* @param ET_Builder_Module_Helper_MultiViewOptions $multi_view Multiview object instance.
public function multi_view_filter_value( $raw_value, $args, $multi_view ) {
$name = et_()->array_get( $args, 'name', '' );
$mode = et_()->array_get( $args, 'mode', '' );
$context = et_()->array_get( $args, 'context', '' );
$fields_need_escape = array(
if ( $raw_value && in_array( $name, $fields_need_escape, true ) ) {
return $this->_esc_attr( $multi_view->get_name_by_mode( $name, $mode ), 'none', $raw_value );
if ( 'image_url' === $name && 'classes' === $context ) {
$raw_value = $raw_value ? $this->is_svg( $raw_value ) : false;
new ET_Builder_Module_Team_Member;