ActionsProxy::apply_filters()publicWC 1.0

Calls the callback functions that have been added to a filter hook.

{} It's a method of the class: ActionsProxy{}

Hooks from the method


Mixed. The filtered value after all hooked functions are applied to it.


$ActionsProxy = new ActionsProxy();
$ActionsProxy->apply_filters( $tag, $value, ...$parameters );
$tag(string) (required)
The name of the filter hook.
$value(mixed) (required)
The value to filter.
...$parameters(mixed) (required)
Additional parameters to pass to the callback functions.

Code of ActionsProxy::apply_filters() WC 7.1.0

public function apply_filters( $tag, $value, ...$parameters ) {
	return apply_filters( $tag, $value, ...$parameters );