PHP Class WDS_CMB2_Attached_Posts_Field_124

This ensures each version is loaded/checked.
Since: 1.2.3
Author: WebDevStudios ([email protected])
ファイルを表示 Open project: webdevstudios/cmb2-attached-posts

Public Methods

Method Description
__construct ( ) Starts the version checking process.
do_hook ( ) Fires the cmb2_attached_posts_field_load action hook (from the after_setup_theme hook).
include_lib ( ) A final check if WDS_CMB2_Attached_Posts_Field exists before kicking off our WDS_CMB2_Attached_Posts_Field loading.

Method Details

__construct() public method

Creates CMB2_ATTACHED_POSTS_FIELD_LOADED definition for early detection by other scripts. Hooks WDS_CMB2_Attached_Posts_Field inclusion to the cmb2_attached_posts_field_load hook on a high priority which decrements (increasing the priority) with each version release.
Since: 1.2.3
public __construct ( )

do_hook() public method

Fires the cmb2_attached_posts_field_load action hook (from the after_setup_theme hook).
Since: 1.2.3
public do_hook ( )

include_lib() public method

CMB2_ATTACHED_POSTS_FIELD_VERSION and CMB2_ATTACHED_POSTS_FIELD_DIR constants are set at this point.
Since: 1.2.3
public include_lib ( )