New and updated in 4.7.0
-
hookchange_locale
Fires when the locale is switched to or restored.
-
Whether switch_to_locale() is in effect.
-
Switches the translations according to the given locale.
-
hookswitch_locale
Fires when the locale is switched.
-
Restores the translations according to the previous locale.
-
Fires when the locale is restored to the previous one.
-
Restores the translations according to the original locale.
-
classWP_Locale_Switcher
Core class used for switching locales.
-
Constructor.
-
Initializes the locale switcher.
-
hookwp_roles_init
Fires after the roles have been initialized, allowing plugins to add their own roles.
-
methodWP_Taxonomy::add_hooks()
Registers the ajax callback for the meta box.
-
Removes the ajax callback for the meta box.
-
Removes any rewrite rules, permastructs, and rules for the taxonomy.
-
classWP_Taxonomy
Core class used for interacting with taxonomies.
-
Constructor.
-
methodWP_Taxonomy::set_props()
Sets taxonomy properties.
-
Adds the necessary rewrite rules for the taxonomy.
-
methodWP_Hook::valid()
Checks if current position is valid.
-
methodWP_Hook::rewind()
Rewinds the Iterator to the first element.
-
methodWP_Hook::current()
Returns the current element.
-
methodWP_Hook::next()
Moves forward to the next element.
-
methodWP_Hook::key()
Returns the key of the current element.
-
methodWP_Hook::offsetExists()
Determines whether an offset value exists.
-
methodWP_Hook::offsetGet()
Retrieves a value at a specified offset.
-
methodWP_Hook::offsetSet()
Sets a value at a specified offset.
-
methodWP_Hook::offsetUnset()
Unsets a specified offset.
-
methodWP_Hook::has_filters()
Checks if any callbacks have been registered for this hook.
-
Removes all callbacks from the current filter.
-
methodWP_Hook::apply_filters()
Calls the callback functions that have been added to a filter hook.