attribute-functions.php
Table of Contents
- mphb_add_attribute() : mixed
- mphb_attribute_exists() : mixed
- mphb_attribute_taxonomy_name() : string
- This function generates taxonomy name or gets the registered one.
- mphb_taxonomy_attribute_name() : mixed
- mphb_is_attribute_taxonomy() : mixed
- mphb_is_attribute_taxonomy_edit_page() : mixed
- mphb_is_duplicate_attribute() : mixed
- mphb_has_duplicate_attributes() : mixed
- mphb_attributes_prefix() : mixed
- mphb_get_attribute_names() : mixed
- mphb_sanitize_attribute_name() : mixed
- mphb_clean_attribute_name() : mixed
- mphb_attribute_title() : mixed
- mphb_is_public_attribute() : mixed
- mphb_is_visible_attribute() : mixed
- mphb_attribute_orderby() : mixed
- mphb_attribute_default_text() : string
- mphb_reorder_attributes() : mixed
- Note: this will reset order for all terms in range [1; oo) after first reorder.
- mphb_set_attribute_order() : mixed
Functions
mphb_add_attribute()
mphb_add_attribute(mixed $attribute) : mixed
Parameters
- $attribute : mixed
mphb_attribute_exists()
mphb_attribute_exists(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_attribute_taxonomy_name()
This function generates taxonomy name or gets the registered one.
mphb_attribute_taxonomy_name(string $attributeName) : string
Parameters
- $attributeName : string
mphb_taxonomy_attribute_name()
mphb_taxonomy_attribute_name(mixed $taxonomyName) : mixed
Parameters
- $taxonomyName : mixed
mphb_is_attribute_taxonomy()
mphb_is_attribute_taxonomy(mixed $taxonomyName) : mixed
Parameters
- $taxonomyName : mixed
mphb_is_attribute_taxonomy_edit_page()
mphb_is_attribute_taxonomy_edit_page() : mixed
mphb_is_duplicate_attribute()
mphb_is_duplicate_attribute(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_has_duplicate_attributes()
mphb_has_duplicate_attributes(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_attributes_prefix()
mphb_attributes_prefix() : mixed
mphb_get_attribute_names()
mphb_get_attribute_names() : mixed
mphb_sanitize_attribute_name()
mphb_sanitize_attribute_name(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_clean_attribute_name()
mphb_clean_attribute_name(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_attribute_title()
mphb_attribute_title(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_is_public_attribute()
mphb_is_public_attribute(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_is_visible_attribute()
mphb_is_visible_attribute(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_attribute_orderby()
mphb_attribute_orderby(mixed $attributeName) : mixed
Parameters
- $attributeName : mixed
mphb_attribute_default_text()
mphb_attribute_default_text(string $attributeName) : string
Parameters
- $attributeName : string
Tags
mphb_reorder_attributes()
Note: this will reset order for all terms in range [1; oo) after first reorder.
mphb_reorder_attributes(int $currentId, int $nextId, string $taxonomyName) : mixed
Parameters
- $currentId : int
- $nextId : int
- $taxonomyName : string
mphb_set_attribute_order()
mphb_set_attribute_order(mixed $termId, mixed $index, mixed $taxonomyName) : mixed
Parameters
- $termId : mixed
- $index : mixed
- $taxonomyName : mixed