Form_Edit_Page_Handler::maybe_add_meta_boxes( WP_Post $post )

Adds meta boxes if conditions are met.

Description

Parameters

$post

(WP_Post) (Required) Current post.

Source

File: src/db-objects/forms/form-edit-page-handler.php

	public function maybe_add_meta_boxes( $post ) {
		$form = $this->form_manager->get( $post->ID );
		if ( ! $form ) {
			return;
		}

		$this->add_meta_boxes( $form );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.