acf_get_file_uploader_nonce_action()
Returns the nonce action of a basic uploader file input, bound to the object it is rendered for.
Хуков нет.
Возвращает
string.
Использование
acf_get_file_uploader_nonce_action( $render_id, $field_key );
- $render_id(строка) (обязательный)
- The render ID of the object, as from acf_get_current_render_id().
- $field_key(строка) (обязательный)
- The field key.
Список изменений
| С версии 6.8.11 | Введена. |
Код acf_get_file_uploader_nonce_action() acf get file uploader nonce action ACF 6.8.11
function acf_get_file_uploader_nonce_action( $render_id, $field_key ) {
return 'acf/file_uploader_nonce/' . $render_id . '/' . $field_key;
}