LearnDash_Settings_Metabox::init( WP_Post $post = null, bool $force = false )
Initialize the Metabox instance.
Parameters #
- $post
-
(WP_Post)
(Optional)
The WP_Post object to initialize the instance.
Default value: null
- $force
-
(bool)
(Optional)
True to force the initialization. This will load values and settings again.
Default value: false
Return #
(false|void) False if the post is not valid, otherwise void.