Method | Description | |
---|---|---|
get_date_front ( string $post_type ) : string | Get permalink structure front for date archive. | |
get_no_taxonomy_structure ( ) : boolean | Get Option no_taxonomy_structure. | |
get_permalink_structure ( string | object $post_type ) : string | Get permalink structure. | |
get_post_types ( ) : array | ||
get_taxonomies ( boolean $objects = false ) : array | ||
get_taxonomy_parents ( integer | WP_Term | object $term, string $taxonomy = 'category', boolean $link = false, string $separator = '/', boolean $nicename = false, array $visited = [] ) : string | Get Custom Taxonomies parents. | |
get_taxonomy_parents_slug ( integer | WP_Term | object $term, string $taxonomy = 'category', string $separator = '/', boolean $nicename = false, array $visited = [] ) : string | Get Custom Taxonomies parents slug. |
Method | Description | |
---|---|---|
__construct ( ) | ||
is_post_type_support_rewrite ( string $post_type ) : boolean |
public static get_date_front ( string $post_type ) : string | ||
$post_type | string | post type name. |
return | string |
public static get_no_taxonomy_structure ( ) : boolean | ||
return | boolean |
public static get_taxonomies ( boolean $objects = false ) : array | ||
$objects | boolean | |
return | array |
public static get_taxonomy_parents ( integer | WP_Term | object $term, string $taxonomy = 'category', boolean $link = false, string $separator = '/', boolean $nicename = false, array $visited = [] ) : string | ||
$term | integer | WP_Term | object | |
$taxonomy | string | |
$link | boolean | |
$separator | string | |
$nicename | boolean | |
$visited | array | |
return | string |
public static get_taxonomy_parents_slug ( integer | WP_Term | object $term, string $taxonomy = 'category', string $separator = '/', boolean $nicename = false, array $visited = [] ) : string | ||
$term | integer | WP_Term | object | |
$taxonomy | string | |
$separator | string | |
$nicename | boolean | |
$visited | array | |
return | string |