Crate hook

Source

Functionsยง

add_filter
Registers a filter callback for the given hook name. Returns an ID that can be used to remove the filter.
apply_filters
Applies all filter callbacks registered for the given hook to value.
remove_all_filters
Removes all filters for the given hook.
remove_filter
Removes the filter with the specified ID from the given hook. Returns true if a filter was removed.