_get_plugin_from_callback
- %1$s is private and should not be used in themes or plugins directly.
_get_plugin_from_callback ( $callback )
Access:Parameters:- (callable) callback The callback function to check.
Returns:- (array|null) The plugin that the callback belongs to, or null if it doesn't belong to a plugin.
Defined at: - Introduced in WordPress: 5.0.0
- Deprecated in WordPress: —
Description
Internal helper function to find the plugin from a meta box callback.