AdminPageFramework_WPUtility::getPostTypeSubMenuSlug PHP Метод

getPostTypeSubMenuSlug() публичный статический Метод

public static getPostTypeSubMenuSlug ( $sPostTypeSlug, $aPostTypeArguments )
    public static function getPostTypeSubMenuSlug($sPostTypeSlug, $aPostTypeArguments)
    {
        $_sCustomMenuSlug = self::getShowInMenuPostTypeArgument($aPostTypeArguments);
        if (is_string($_sCustomMenuSlug)) {
            return $_sCustomMenuSlug;
        }
        return 'edit.php?post_type=' . $sPostTypeSlug;
    }