AdminPageFramework_PostType_View::_replyToFilterPostTypeContent PHP Метод

_replyToFilterPostTypeContent() публичный Метод

public _replyToFilterPostTypeContent ( $sContent )
    public function _replyToFilterPostTypeContent($sContent)
    {
        if (!is_singular()) {
            return $sContent;
        }
        if (!is_main_query()) {
            return $sContent;
        }
        global $post;
        if ($this->oProp->sPostType !== $post->post_type) {
            return $sContent;
        }
        return $this->oUtil->addAndApplyFilters($this, "content_{$this->oProp->sClassName}", $this->content($sContent));
    }