Automattic\WooCommerce\Blueprint
StepProcessor::check_step_capabilities
Check if the current user has the required capabilities for this step.
Метод класса: StepProcessor{}
Хуков нет.
Возвращает
true|false
. True if the user has the required capabilities. False otherwise.
Использование
$StepProcessor = new StepProcessor(); $StepProcessor->check_step_capabilities( $schema ): bool;
- $schema(объект) (обязательный)
- The schema to process.
Код StepProcessor::check_step_capabilities() StepProcessor::check step capabilities WC 10.0.2
public function check_step_capabilities( $schema ): bool;