LLMS_Admin_Resources::register_meta_boxes()
Register Resource’s meta boxes.
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.resources.php
public static function register_meta_boxes() {
add_meta_box(
'llms_dashboard_welcome_video',
__( 'Welcome to LifterLMS', 'lifterlms' ),
array( __CLASS__, 'meta_box' ),
'toplevel_page_llms-resources',
'normal',
'default',
array( 'view' => 'welcome-video' )
);
add_meta_box(
'llms_dashboard_resource_links',
__( 'Resource Links', 'lifterlms' ),
array( __CLASS__, 'meta_box' ),
'toplevel_page_llms-resources',
'normal',
'default',
array( 'view' => 'resource-links' )
);
add_meta_box(
'llms_dashboard_getting_started',
__( 'Getting Started', 'lifterlms' ),
array( __CLASS__, 'meta_box' ),
'toplevel_page_llms-resources',
'side',
'default',
array( 'view' => 'getting-started' )
);
/**
* Fired after adding the meta boxes on the LifterLMS admin resources page.
*
* Third parties can hook here to remove LifterLMS core meta boxes.
*
* @since 7.4.1
*/
do_action( 'llms_resources_meta_boxes_added' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.4.1 | Introduced. |