get_specific_plugin_hook_output — Get the output of a specific plugin’s hook as a string.

Plugin-related functions

Summary

get_specific_plugin_hook_output($pluginName, $hookName, $args = array())

Get the output of a specific plugin’s hook as a string.

This is like get_plugin_hook_output() but only calls the hook within the provided plugin.

Parameters:
  • $pluginName (string) – Directory name of the plugin to execute the hook for.

  • $hookName (string) – Name of the hook to fire.

  • $args (mixed) – Any arguments to be passed to the hook implementation.

Returns:

string|null

Usage

Examples

See Also