[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ -> class-wp-taxonomy.php (summary)

Taxonomy API: WP_Taxonomy class

File Size: 450 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  __construct()
  set_props()
  add_rewrite_rules()
  remove_rewrite_rules()
  add_hooks()
  remove_hooks()

Functions
Functions that are not part of a class:

__construct( $taxonomy, $object_type, $args = array()   X-Ref
Constructor.

param: string       $taxonomy    Taxonomy key, must not exceed 32 characters.
param: array|string $object_type Name of the object type for the taxonomy object.
param: array|string $args        Optional. Array or query string of arguments for registering a taxonomy.
since: 4.7.0

set_props( $object_type, $args )   X-Ref
Sets taxonomy properties.

param: array|string $object_type Name of the object type for the taxonomy object.
param: array|string $args        Array or query string of arguments for registering a taxonomy.
since: 4.7.0

add_rewrite_rules()   X-Ref
Adds the necessary rewrite rules for the taxonomy.

since: 4.7.0

remove_rewrite_rules()   X-Ref
Removes any rewrite rules, permastructs, and rules for the taxonomy.

since: 4.7.0

add_hooks()   X-Ref
Registers the ajax callback for the meta box.

since: 4.7.0

remove_hooks()   X-Ref
Removes the ajax callback for the meta box.

since: 4.7.0



Generated: Mon Jul 22 01:00:03 2019 Cross-referenced by PHPXref 0.7.1