acf_reset_meta()
acf_reset_meta
Removes postmeta to storage.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
acf_reset_meta( $post_id );
- $post_id **
- -
Заметки
- Смотрите: ACF_Local_Meta::remove() for list of parameters.
Список изменений
С версии 5.8.0 | Введена. |
Код acf_reset_meta() acf reset meta ACF 6.0.4
function acf_reset_meta( $post_id = 0 ) { return acf_get_instance( 'ACF_Local_Meta' )->remove( $post_id ); }