Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: pitbull on August 04, 2019, 06:41:50 PM

Title: How can i set the "notify me" option as default for any new list the user create
Post by: pitbull on August 04, 2019, 06:41:50 PM
As the title describes, how can i set the "Notify" option as active by default, for any new list created by the users? I want it always checked.

Thanks
Title: Re: How can i set the "notify me" option as default for any new list the user create
Post by: MB Themes on August 05, 2019, 02:36:53 PM
@pitbull
Unfortunately plugin does not have such option, you will have to update plugin files (ajax.php)
    ModelFI::newInstance()->addFavoriteList( __('Favorite List', 'favorite_items'), 1, $user_id, osc_is_web_user_logged_in() ? 1 : 0, 0 );

I think last parameter is for notification