Skip to content

Commit

Permalink
migrate llms-notifications-settings.php
Browse files Browse the repository at this point in the history
  • Loading branch information
actuallyakash committed Nov 15, 2023
1 parent 15d19a5 commit af4d0cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lifterlms/llms-notifications-settings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Filter to customize settings associated with LifterLMS Basic Notifications.
*
* https://lifterlms.com/docs/lifterlms-filters/#llms_notifications_settings
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion documentation for step-by-step directions on either method.
* https://lifterlms.com/docs/adding-custom-code/
*/
function my_llms_notifications_settings( $settings ) {
$settings['heartbeat_interval'] = 60000;
return $settings;
}
add_filter( 'llms_notifications_settings', 'my_llms_notifications_settings', 10, 1 );

0 comments on commit af4d0cd

Please sign in to comment.