WPDev.one
Core Function
View Source on Trac ↗

_get_plugin_from_callback()

_get_plugin_from_callback( mixed $callback )

Internal helper function to find the plugin from a meta box callback.

Parameters 1 required

Name / Type Description
$callback
callable

The callback function to check.

Required

Return Value

((array)
| null) The plugin that the callback belongs to, or null if it doesn't belong to a plugin.

Function Information

Since Version
5.0.0
Source File
wp-admin/includes/template.php
Advertisement