acf_admin_tools::metabox_html
meta_box_html
description
Method of the class: acf_admin_tools{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_admin_tools = new acf_admin_tools(); $acf_admin_tools->metabox_html( $post, $metabox );
- $post(required)
- .
- $metabox(required)
- .
Changelog
| Since 5.6.3 | Introduced. |
acf_admin_tools::metabox_html() acf admin tools::metabox html code ACF 6.0.4
<?php
function metabox_html( $post, $metabox ) {
// vars
$tool = $this->get_tool( $metabox['args']['tool'] );
?>
<form method="post">
<?php $tool->html(); ?>
<?php acf_nonce_input( $tool->name ); ?>
</form>
<?php
}