acf_set_upload_render_ids() │ ACF 6.8.11

Sets the render IDs that basic uploader nonces are verified against in this save.

Хуков нет.

Возвращает

void. Ничего (null).

Использование

acf_set_upload_render_ids( $render_ids );
$render_ids(массив) (обязательный)
The render IDs.

Список изменений

С версии 6.8.11 Введена.

Код acf_set_upload_render_ids() ACF 6.8.11

function acf_set_upload_render_ids( $render_ids ) {
	acf_set_form_data( 'upload_render_ids', array_values( array_filter( array_map( 'strval', (array) $render_ids ) ) ) );
}