LLMS_Admin_Resources::meta_box( mixed $data_object, array $box )

Prints the resource’s meta box html.


Parameters Parameters

$data_object

(mixed) (Required) Often this is the object that's the focus of the current screen, for example a WP_Post or WP_Comment object.

$box

(array) (Required) Meta Box configuration array.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.resources.php

	public static function meta_box( $data_object, $box ) {

		if ( isset( $box['args']['view'] ) ) {
			// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output is escaped in the view file.
			echo self::get_view( $box['args']['view'] );
		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.4.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.