'heading', 'settings' => [ 'title' => __( 'Edit Post', 'frontend-admin' ), ], ], [ 'widgetType' => 'fea_post_title_field', 'settings' => [] ], [ 'widgetType' => 'fea_post_content_field', 'settings' => [] ], [ 'widgetType' => 'fea_post_excerpt_field', 'settings' => [] ], [ 'widgetType' => 'fea_featured_image_field', 'settings' => [] ], [ 'widgetType' => 'fea_taxonomy_field', 'settings' => [ 'field_label' => __( 'Category', 'frontend-admin' ), 'field_name' => 'category', 'taxonomy' => 'category', 'custom_fields_save' => 'post', 'field_type' => 'multi_select', ] ], [ 'widgetType' => 'fea_taxonomy_field', 'settings' => [ 'field_label' => __( 'Tags', 'frontend-admin' ), 'field_name' => 'tags', 'taxonomy' => 'post_tag', 'custom_fields_save' => 'post', 'field_type' => 'multi_select', ] ], [ 'widgetType' => 'submit_button', 'settings' => [ 'text' => __( 'Submit', 'frontend-admin' ), ], ], ]; } /** * Get widget categories. * * Retrieve the list of categories the acf ele form widget belongs to. * * @since 1.0.0 * @access public * * @return array Widget categories. */ public function get_categories() { return array( 'frontend-admin-posts' ); } }