Fire a hook programmatically

To fire a hook you can use following functions:

  1. do_action – executes a hook created by add_action.
  2. do_action_ref_array – execute functions hooked on a specific action hook, specifying arguments in an array. This function is identical to do_action, but the arguments passed to the functions hooked to $tag are supplied using an array.

If you want to apply filters, you can do it by calling apply_filters function.

404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.