File: wp-includes/plugin.php
-
functiondid_filter()
Retrieves the number of times a filter has been applied during the current request.
-
functionapply_filters_deprecated()
Fires functions attached to a deprecated filter hook.
-
functiondo_action_deprecated()
Fires functions attached to a deprecated action hook.
-
functionregister_activation_hook()
Set the activation hook for a plugin.
-
functionregister_deactivation_hook()
Sets the deactivation hook for a plugin.
-
functionregister_uninstall_hook()
Sets the uninstallation hook for a plugin.
-
function_wp_call_all_hook()
Calls the ‘all’ hook, which will process the functions hooked into it.
-
functionhas_action()
Checks if any action has been registered for a hook.
-
function_wp_filter_build_unique_id()
Builds a unique string ID for a hook callback function.
-
functionremove_action()
Removes a callback function from an action hook.
-
functionremove_all_actions()
Removes all of the callback functions from an action hook.
-
functionplugin_basename()
Gets the basename of a plugin.
-
functionwp_register_plugin_realpath()
Register a plugin’s real path.
-
functionplugin_dir_path()
Get the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in.
-
functionplugin_dir_url()
Get the URL directory path (with trailing slash) for the plugin __FILE__ passed in.
-
functionadd_filter()
Adds a callback function to a filter hook.
-
functiondo_action()
Calls the callback functions that have been added to an action hook.
-
functionhas_filter()
Checks if any filter has been registered for a hook.
-
functiondid_action()
Retrieves the number of times an action has been fired during the current request.
-
functionapply_filters()
Calls the callback functions that have been added to a filter hook.
-
functiondo_action_ref_array()
Calls the callback functions that have been added to an action hook, specifying arguments in an array.
-
functionapply_filters_ref_array()
Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
-
functionremove_filter()
Removes a callback function from a filter hook.
-
functionremove_all_filters()
Removes all of the callback functions from a filter hook.
-
functioncurrent_filter()
Retrieves the name of the current filter hook.
-
functioncurrent_action()
Retrieves the name of the current action hook.
-
functiondoing_filter()
Returns whether or not a filter hook is currently being processed.
-
functiondoing_action()
Returns whether or not an action hook is currently being processed.
-
functionadd_action()
Adds a callback function to an action hook.