git-svn-id: https://develop.svn.wordpress.org/trunk@35910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a8ee60eebc
commit
70d44588ce
@ -193,7 +193,7 @@ function has_filter($tag, $function_to_check = false) {
|
|||||||
*
|
*
|
||||||
* @param string $tag The name of the filter hook.
|
* @param string $tag The name of the filter hook.
|
||||||
* @param mixed $value The value on which the filters hooked to `$tag` are applied on.
|
* @param mixed $value The value on which the filters hooked to `$tag` are applied on.
|
||||||
* @param mixed $var Additional variables passed to the functions hooked to `$tag`.
|
* @param mixed $var,... Additional variables passed to the functions hooked to `$tag`.
|
||||||
* @return mixed The filtered value after all hooked functions are applied to it.
|
* @return mixed The filtered value after all hooked functions are applied to it.
|
||||||
*/
|
*/
|
||||||
function apply_filters( $tag, $value ) {
|
function apply_filters( $tag, $value ) {
|
||||||
@ -476,7 +476,7 @@ function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1)
|
|||||||
* @global array $wp_current_filter Stores the list of current filters with the current one last
|
* @global array $wp_current_filter Stores the list of current filters with the current one last
|
||||||
*
|
*
|
||||||
* @param string $tag The name of the action to be executed.
|
* @param string $tag The name of the action to be executed.
|
||||||
* @param mixed $arg Optional. Additional arguments which are passed on to the
|
* @param mixed $arg,... Optional. Additional arguments which are passed on to the
|
||||||
* functions hooked to the action. Default empty.
|
* functions hooked to the action. Default empty.
|
||||||
*/
|
*/
|
||||||
function do_action($tag, $arg = '') {
|
function do_action($tag, $arg = '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user