get_tags_to_edit()
Gets comma-separated list of tags available to edit.
Хуков нет.
Возвращает
string|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 7.1
function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) {
return get_terms_to_edit( $post_id, $taxonomy );
}