acf_reset_meta() │ ACF 5.8.0

acf_reset_meta

Removes postmeta to storage.

Хуков нет.

Возвращает

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

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

acf_reset_meta( $post_id );
$post_id
.

Заметки

Смотрите: ACF_Local_Meta::remove() for list of parameters.

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

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

Код acf_reset_meta() ACF 6.8.11

function acf_reset_meta( $post_id = 0 ) {
	return acf_get_instance( 'ACF_Local_Meta' )->remove( $post_id );
}