WooCommerce Code Reference

StepProcessor

Interface StepProcessor

Table of Contents

check_step_capabilities()  : bool
Check if the current user has the required capabilities for this step.
get_step_class()  : string
Get the step class.
process()  : StepProcessorResult
Process the schema.

Methods

check_step_capabilities()

Check if the current user has the required capabilities for this step.

public check_step_capabilities(object $schema) : bool
Parameters
$schema : object

The schema to process.

Return values
boolTrue if the user has the required capabilities. False otherwise.