首页 WordPress函数大全 apply_filters_ref_array()

apply_filters_ref_array()

2020-05-01 / 3012阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

apply_filters_ref_array( string $tag, array $args )

Calls the callback functions that have been added to a filter hook, specifying arguments in an array.

描述

See also See also

  • apply_filters(): This function is identical, but the arguments passed to the functions hooked to $tag are supplied using an array.

Top ↑

参数

$tag

(string)
(Required)
The name of the filter hook.

$args

(array)
(Required)
The arguments supplied to the functions hooked to $tag.

返回

(mixed) The filtered value after all hooked functions are applied to it.

大家谈论
    我的见解