is_test(true) # @check_interval ->set_filter( $filter_string ) # @active_plugins ->set_plugin( 'Eventin', 'https://themewinter.com/eventin/' ) # @plugin_name @plugin_url ->set_api_url( 'https://product.themewinter.com/auth/public/stories/' ) # @api_url_for_stories ->call(); /** * Show WPMET banner (codename: jhanda) * * This code snippet is responsible for displaying the WPMET banner, also known as codename "jhanda". * It initializes the UtilityPackage\Banner\Banner class and sets various properties and options. * The banner is associated with the 'testplugin' plugin slug and is set to run in test mode. * The active plugins are filtered based on the provided filter string. * The API URL for the banners is set to 'https://api.wpmet.com/public/jhanda'. * The allowed screen for the banner is set to 'toplevel_page_gutenkit'. * Finally, the `call()` method is invoked to display the banner. * * @package Gutenkit_Blocks_Addon * @subpackage Libs * @since 1.0.0 */ Banner::instance( 'eventin' ) # @plugin_slug // ->is_test(true) # @check_interval ->set_filter( ltrim( $filter_string, ',' ) ) # @active_plugins ->set_api_url( 'https://product.themewinter.com/auth/public/jhanda' ) # @api_url_for_banners ->set_plugin_screens( 'toplevel_page_eventin' ) # @set_allowed_screen ->call(); /** * Ask for Ratings * * This code initializes the utility package for asking users to rate the Gutenkit Blocks Addon plugin. * It sets various properties such as the plugin logo, plugin name and URL, allowed screens, priority, * time interval, and conditions for displaying the rating prompt. * * @package Gutenkit_Blocks_Addon * @subpackage Libs */ Rating::instance('eventin')# @plugin_slug ->set_plugin('Enventin', 'https://wordpress.org/support/plugin/wp-event-solution/reviews/#new-post') # @plugin_name @plugin_url ->set_allowed_screens('toplevel_page_eventin') # @set_allowed_screen ->set_priority(30) # @priority ->set_first_appear_day(7) # @time_interval_days ->set_condition(true) # @check_conditions ->set_support_url('https://themewinter.com/support/') # @support_url ->call(); } }