'clean', ]; } /** * List of keys of the default fields we want to display on the builder. * * @since 2.0.0 * @return array */ public function default_fields() { return []; } /** * If you want to force a particular attribute to a value, declare it here. * * @since 2.0.0 * @return array */ public function force_attributes() { return [ 'id' => 'steps', ]; } /** * Returns the list of available pricing table templates. * * @since 2.0.0 * @return array */ public function get_templates() { $available_templates = Field_Templates_Manager::get_instance()->get_templates_as_options('steps'); return $available_templates; } /** * Returns the list of additional fields specific to this type. * * @since 2.0.0 * @return array */ public function get_fields() { $editor_fields['steps_template'] = [ 'type' => 'group', 'desc' => Field_Templates_Manager::get_instance()->render_preview_block('steps'), 'order' => 98, 'fields' => [ 'steps_template' => [ 'type' => 'select', 'title' => __('Layout', 'wp-multisite-waas'), 'placeholder' => __('Select your Layout', 'wp-multisite-waas'), 'options' => [$this, 'get_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ 'v-model' => 'steps_template', ], ], ], ]; // @todo: re-add developer notes. // $editor_fields['_dev_note_develop_your_own_template_steps'] = array( // 'type' => 'note', // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', // 'desc' => sprintf('