LLMS_Admin_Resources::meta_box( mixed $data_object, array $box )
Prints the resource’s meta box html.
Parameters Parameters
- $data_object
-
(mixed) (Required) Often this is the object that's the focus of the current screen, for example a
WP_PostorWP_Commentobject. - $box
-
(array) (Required) Meta Box configuration array.
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.resources.php
public static function meta_box( $data_object, $box ) {
if ( isset( $box['args']['view'] ) ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped in the view file.
echo self::get_view( $box['args']['view'] );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.4.1 | Introduced. |