PHP Класс WPCOM_JSON_API_Update_Term_Endpoint, jetpack

There should be nothing WordPress.com specific in this file.
Наследование: extends WPCOM_JSON_API_Taxonomy_Endpoint
Показать файл Открыть проект

Открытые методы

Метод Описание
callback ( $path = '', $blog_id, $taxonomy = 'category', $slug ) /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
delete_term ( $path, $blog_id, $slug, $taxonomy ) /sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
new_term ( $path, $blog_id, $taxonomy ) /sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
update_term ( $path, $blog_id, $slug, $taxonomy ) /sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug

Описание методов

callback() публичный Метод

/sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
public callback ( $path = '', $blog_id, $taxonomy = 'category', $slug )

delete_term() публичный Метод

/sites/%s/taxonomies/%s/terms/slug:%s/delete -> $blog_id, $taxonomy, $slug
public delete_term ( $path, $blog_id, $slug, $taxonomy )

new_term() публичный Метод

/sites/%s/taxonomies/%s/terms/new -> $blog_id, $taxonomy
public new_term ( $path, $blog_id, $taxonomy )

update_term() публичный Метод

/sites/%s/taxonomies/%s/terms/slug:%s -> $blog_id, $taxonomy, $slug
public update_term ( $path, $blog_id, $slug, $taxonomy )