acf_nonce_input() ACF 5.6.0
This function will create a basic nonce input
Хуков нет.
Возвращает
$post_id. (int)
Использование
acf_nonce_input( $nonce );
- $nonce **
- -
По умолчанию: ''
Список изменений
С версии 5.6.0 | Введена. |
Код acf_nonce_input() acf nonce input ACF 5.9.1
function acf_nonce_input( $nonce = '' ) {
echo '<input type="hidden" name="_acf_nonce" value="' . wp_create_nonce( $nonce ) . '" />';
}