Automattic\WooCommerce\Abilities
ActionableAbility::prepare_response
The ability output for the saved object. It must match the output schema of the ability.
Метод класса: ActionableAbility{}
Хуков нет.
Возвращает
mixed.
Использование
$ActionableAbility = new ActionableAbility(); $ActionableAbility->prepare_response( $subject );
- $subject(WC_Data) (обязательный)
- Saved object.
Список изменений
| С версии 11.3.0 | Введена. |
Код ActionableAbility::prepare_response() ActionableAbility::prepare response WC 11.3.0
abstract public function prepare_response( $subject );