acf_nonce_input()
acf_nonce_input
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 6.0.4
function acf_nonce_input( $nonce = '' ) { echo '<input type="hidden" name="_acf_nonce" value="' . wp_create_nonce( $nonce ) . '" />'; }