Skip to content

Commit

Permalink
Transient tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerweb committed Mar 31, 2019
1 parent 79e7352 commit b145ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/tbex-addons.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function ddw_tbex_tbexcom_api_get_addons() {

if ( ! empty( $data ) && is_array( $data ) ) {

/** Store the data for a week */
set_transient( 'toolbar-extras-addons', $data, 7 * MINUTE_IN_SECONDS );
/** Store the data for a week / MINUTE_IN_SECONDS */
set_transient( 'toolbar-extras-addons', $data, 7 * DAY_IN_SECONDS );

return $data;

Expand Down

0 comments on commit b145ab8

Please sign in to comment.