acf_admin_tools::check_submit
check_submit
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->check_submit();
Changelog
| Since 5.6.3 | Introduced. |
acf_admin_tools::check_submit() acf admin tools::check submit code ACF 6.8.8
function check_submit() {
// loop
foreach ( $this->get_tools() as $tool ) {
// load
$tool->load();
// submit
if ( acf_verify_nonce( $tool->name ) ) {
$tool->submit();
}
}
}