wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp-includes/plugin.php › WordPress File

Funzioni29
The plugin API is located in this file, which allows for creating actions and filters and hooking functions, and methods. The functions or methods will then be run when the action or filter is called.


Function Short description
add_actionAdds a callback function to an action hook.
add_filterAdds a callback function to a filter hook.
apply_filtersCalls the callback functions that have been added to a filter hook.
apply_filters_deprecatedFires functions attached to a deprecated filter hook.
apply_filters_ref_arrayCalls the callback functions that have been added to a filter hook, specifying arguments in an array.
current_actionRetrieves the name of the current action hook.
current_filterRetrieves the name of the current filter hook.
did_actionRetrieves the number of times an action has been fired during the current request.
did_filterRetrieves the number of times a filter has been applied during the current request.
doing_actionReturns whether or not an action hook is currently being processed.
doing_filterReturns whether or not a filter hook is currently being processed.
do_actionCalls the callback functions that have been added to an action hook.
do_action_deprecatedFires functions attached to a deprecated action hook.
do_action_ref_arrayCalls the callback functions that have been added to an action hook, specifying arguments in an array.
has_actionChecks if any action has been registered for a hook.
has_filterChecks if any filter has been registered for a hook.
plugin_basenameGets the basename of a plugin.
plugin_dir_pathGet the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in.
plugin_dir_urlGet the URL directory path (with trailing slash) for the plugin __FILE__ passed in.
register_activation_hookSet the activation hook for a plugin.
register_deactivation_hookSets the deactivation hook for a plugin.
register_uninstall_hookSets the uninstallation hook for a plugin.
remove_actionRemoves a callback function from an action hook.
remove_all_actionsRemoves all of the callback functions from an action hook.
remove_all_filtersRemoves all of the callback functions from a filter hook.
remove_filterRemoves a callback function from a filter hook.
wp_register_plugin_realpathRegister a plugin's real path.
_wp_call_all_hookCalls the 'all' hook, which will process the functions hooked into it.
_wp_filter_build_unique_idBuilds a unique string ID for a hook callback function.