ultp_allowed_html_tags(); $attr['filterText'] = isset( $attr['filterText'] ) && $attr['filterText'] ? wp_kses( $attr['filterText'], $allowed_html_tags ) : ''; $attr['filterMobileText'] = isset( $attr['filterMobileText'] ) && $attr['filterMobileText'] ? esc_html( $attr['filterMobileText'] ) : ''; $page_post_id = ( isset( $attr['currentPostId'] ) && $attr['currentPostId'] ) ? sanitize_html_class( $attr['currentPostId'] ) : ultimate_post()->get_page_post_id( $attr['blockId'] ); $self_post_id = 'data-selfpostid="' . ( ( isset( $attr['currentPostId'] ) && $attr['currentPostId'] ) ? 'yes' : 'no' ) . '"'; $wraper_before .= '