Recent

Metabox class

Metabox

Class Metabox

Handles the registration, rendering, and saving of the AutoClose metabox.

Namespace: WebberZone\AutoClose\Admin
Since: 3.0.0
Source: includes/admin/class-metabox.php line 26

Methods

__construct()

Constructor.

Line: 58

public function __construct(  );

initialise_metabox_api()

Register the metabox using Metabox_API for each supported post type.

Line: 67

public function initialise_metabox_api(  ): void;

Returns: void

save_metabox()

Save the metabox data using the API and trigger close logic.

Line: 86

public function save_metabox( $post_id ): void;
TypeNameDescription
int$post_idPost ID.

Returns: void