Automattic\WooCommerce\Proxies

ActionsProxy::apply_filters()publicWC 1.0

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() WC 8.7.0

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