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