Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the edd-paypal-pro-express domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the edd-recurring domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the kirki domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-includes/functions.php on line 6114

Warning: session_start(): open(/opt/alt/php74/var/lib/php/session/sess_e0f1e6a1b3e4dcf79555d23f0733a893, O_RDWR) failed: Disk quota exceeded (122) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 423

Warning: session_start(): Failed to read session data: files (path: /opt/alt/php74/var/lib/php/session) in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 423
The Events Calendar Plugin - Hide Subscribe to Calendar button - WpExpertPlugins

Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

411 University St, Seattle, USA

engitech@oceanthemes.net

+1 -800-456-478-23

Development

The Events Calendar Plugin – Hide Subscribe to Calendar button

Hide the Subscribe to Calendar button when no events are found on that day, week, month

<?php 

add_filter("tec_views_v2_subscribe_links", "tec_views_v2_subscribe_links_cb", 100, 2);
function tec_views_v2_subscribe_links_cb($subscribe_links, $view){
    if(empty($view->found_post_ids())){
        $subscribe_links = [];
    }
    return $subscribe_links;

}

Author

Hitesh Gandhi


Fatal error: Uncaught wfWAFStorageFileException: Unable to save temporary file for atomic writing. in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:34 Stack trace: #0 /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(658): wfWAFStorageFile::atomicFilePutContents('/home/samarthtr...', '<?php exit('Acc...') #1 [internal function]: wfWAFStorageFile->saveConfig('livewaf') #2 {main} thrown in /home/samarthtrivedi/public_html/wpexpertplugins.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 34