src/Cuztom.php
public static function isReservedTerm($term)
    {
        if (! in_array($term, apply_filters('cuztom_reserved_terms', self::$reserved))) {
            return false;
        }

        return new \WP_Error('cuztom_reserved_term_used', __('Use of a reserved term.', 'cuztom'));
    }
public static function isReservedTerm($term)
    {
        if (! in_array($term, apply_filters('cuztom_reserved_terms', self::$reserved))) {
            return false;
        }

        return new \WP_Error('cuztom_reserved_term_used', __('Use of a reserved term.', 'cuztom'));
    }
public static function isReservedTerm ( $ term ) { if ( ! in_array ( $ term , apply_filters ( 'cuztom_reserved_terms' , self :: $ reserved ) ) ) { return false ; } return new \ WP_Error ( 'cuztom_reserved_term_used' , __ ( 'Use of a reserved term.' , 'cuztom' ) ) ; }
Check if the term is reserved by Wordpress.

@param  string $term
@return bool
Check if the term is reserved by Wordpress .