get_tags_to_edit()
Gets comma-separated list of tags available to edit.
Хуков нет.
Возвращает
Строку|false|WP_Error
.
Использование
get_tags_to_edit( $post_id, $taxonomy );
- $post_id(int) (обязательный)
- -
- $taxonomy(строка)
- The taxonomy for which to retrieve terms.
По умолчанию: 'post_tag'
Список изменений
С версии 2.3.0 | Введена. |
Код get_tags_to_edit() get tags to edit WP 6.5.2
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) { return get_terms_to_edit( $post_id, $taxonomy ); }