'options', 'form_title' => '', 'submit' => __( 'Submit', 'frontend-admin' ), 'success_message' => __( 'The site has been edited successfully.', 'frontend-admin' ), 'field_type' => 'site_title', 'fields' => [ [ 'field_type' => 'site_title', 'field_label' => 'Site Title' ], [ 'field_type' => 'site_tagline', 'field_label' => 'Tagline' ], [ 'field_type' => 'site_logo', 'field_label' => 'Site Logo' ], ] ); } /** * Get widget title. * * Retrieve acf ele form widget title. * * @since 1.0.0 * @access public * * @return string Widget title. */ public function get_title() { return __( 'Edit Site Form', 'frontend-admin' ); } /** * Get widget icon. * * Retrieve acf ele form widget icon. * * @since 1.0.0 * @access public * * @return string Widget icon. */ public function get_icon() { return 'eicon-pencil frontend-icon'; } /** * 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-general' ); } }