LLMS_Meta_Box_Award_Engagement_Submit::configure()
Configure the metabox settings.
Contents
Return Return
(void)
Source Source
File: includes/admin/post-types/meta-boxes/class.llms.meta.box.award.engagement.submit.php
public function configure() {
$this->id = 'submitdiv'; // Overrides the WordPress core one.
$this->title = __( 'Award', 'lifterlms' );
$this->screens = array_keys( $this->post_types );
$this->context = 'side';
$this->priority = 'high';
$this->callback_args = function() {
return 'llms_my_certificate' === get_post_type() ?
array(
'__back_compat_meta_box' => true,
)
:
array();
};
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |