Automattic\WooCommerce\Proxies
ActionsProxy::apply_filters
Calls the callback functions that have been added to a filter hook.
Метод класса: ActionsProxy{}
Хуки из метода
Возвращает
Разное. The filtered value after all hooked functions are applied to it.
Использование
$ActionsProxy = new ActionsProxy(); $ActionsProxy->apply_filters( $tag, $value, ...$parameters );
- $tag(строка) (обязательный)
- The name of the filter hook.
- $value(разное) (обязательный)
- The value to filter.
- ...$parameters(разное) (обязательный)
- Additional parameters to pass to the callback functions.
Код ActionsProxy::apply_filters() ActionsProxy::apply filters WC 11.0.1
public function apply_filters( $tag, $value, ...$parameters ) {
return apply_filters( $tag, $value, ...$parameters );
}