Getting Started

// ----------------------------------------------------------------------------------------------------
// OUR INSTANCE, CONTAINER AND SUB CONTAINER (TABS)
// Create our $this_instance and $this_container variables
// @Note
// $this_instance stores every option we use from tabs to fields and is passed into a desired wponion_* module function
// $this_container stores everything within the page itself when using not tabs, (how to use tabs is exampled below))
// to generate more tabs simply create another container within it's main container
// EXAMPLE:
// $this_instance = wponion_builder();
// $this_container = $this_instance->container($this_field_id, __($this_demo_name), $this_text_domain); // Main Container
// $this_container->field_name(); // To generate fields for $this_container instance
// $this_field_tab = $this_container->container($this_field_id .'_sub_tab', __("$this_demo_name Subtab"), $this_text_domain); // Subtab within the Main Container
// $this_field_tab->field_name(); // To generate fields for $this_field_tab instance
// ----------------------------------------------------------------------------------------------------
$builder = wponion_builder();
$tab = $builder->tab();
$builder = wponion_builder();
$container = $builder->container();
$tab = $container->tab();
$builder = wponion_builder();
$container = $builder->container();
$subcontainer = $container->container();
$tab = $subcontainer->tab();