Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter waveduke

    (@waveduke)

    OK – it seems this function is not working properly for me:

    function add_my_awesome_widgets_collection($folders){
        $folders[] = plugin_dir_path(__FILE__).'extra-widgets/';
        return $folders;
    }

    Only way to register the folder for me was to edit the SiteOrigin_Widgets_Bundle Class. Add my folder to the get_widget_folders() function.

    Can you register your widget siteorigin_widget_register function?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create custom widget problem’ is closed to new replies.