PHP Класс Term_Meta_Command, wp-cli

## EXAMPLES # Set term meta $ wp term meta set 123 bio "Mary is a WordPress developer." Success: Updated custom field 'bio'. # Get term meta $ wp term meta get 123 bio Mary is a WordPress developer. # Update term meta $ wp term meta update 123 bio "Mary is an awesome WordPress developer." Success: Updated custom field 'bio'. # Delete term meta $ wp term meta delete 123 bio Success: Deleted custom field.
Наследование: extends WP_CLI\CommandWithMeta
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$meta_type

Защищенные методы

Метод Описание
check_object_id ( $object_id ) Check that the term ID exists

Описание методов

check_object_id() защищенный Метод

Check that the term ID exists
protected check_object_id ( $object_id )

Описание свойств

$meta_type защищенное свойство

protected $meta_type