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