Skip to content

Commit

Permalink
set 10 years for themers bundle files
Browse files Browse the repository at this point in the history
  • Loading branch information
neilgee committed Sep 6, 2018
1 parent c8b17d3 commit 32c7158
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions includes-child/beaverbuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ function bt_check_field_connections( $is_visible, $node ) {
//add_filter( 'fl_is_debug', '__return_true' );


add_filter( 'fl_theme_builder_assets_expire', 'bt_builder_expire' );
/**
* Delay Themer Builder Assets to Expire for 10 years ~ default is 30 days
*
*/
function bt_builder_expire() {
$expire_bundle = strtotime( '+3650 days' );

return $expire_bundle;
}


/* Turn off BB notifications */
add_filter ('fl_disable_notifications', '__return_true' );

Expand Down

0 comments on commit 32c7158

Please sign in to comment.