PHP Class WPCOM_JSON_API_Update_Term_Endpoint, jetpack

There should be nothing WordPress.com specific in this file.
Inheritance: extends WPCOM_JSON_API_Taxonomy_Endpoint
Datei anzeigen Open project: automattic/jetpack

Public Methods

Method Description
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

Method Details

callback() public method

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

delete_term() public method

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

new_term() public method

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

update_term() public method

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