* @param string $hook_name The name of the filter hook.
* @param mixed $value The value to filter.
* @param mixed ...$args Additional parameters to pass to the callback functions.
* @return mixed The filtered value after all hooked functions are applied to it.
*/
function apply_filters( $hook_name, $value, ...$args ) {
global $wp_filter, $wp_filters, $wp_current_filter;
if ( ! isset( $wp_filters[ $hook_name ] ) ) {
$wp_filters[ $hook_name ] = 1;
} else {
FatalError
|
---|
Symfony\Component\ErrorHandler\Error\FatalError: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) at /home/koukkudigital/public_html/cms/kuolinpesat2/web/wp/wp-includes/plugin.php:173 |