March 2020
Beginner to intermediate
334 pages
7h 27m
English
Now that we have our basic integration setup, we need to add our fields. So far, everything we've written will work for just about any integration. Now we're going to write code for the specific settings our integration needs. Follow these steps:
/** * Initialize integration settings form fields. * * @return void */ public function init_form_fields() { }
$this->form_fields = array( 'api_key' => array( 'title' => __( 'API Key', 'woocommerce-integration-demo' ), 'type' => 'text', ...
Read now
Unlock full access