Changeset 1609017
- Timestamp:
- 03/06/2017 09:15:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pushpress-integration/tags/1.5.15/inc/wp_pushpress_model.php
r1608878 r1609017 10 10 11 11 12 $pushpressApiKey = get_option('wp-pushpress-integration-key'); 12 13 try { 13 14 if( !$client = get_transient( 'pp_client_info' ) ){ 15 PushpressApi::setApiKey($pushpressApiKey); 16 PushpressApi::setHost( PUSHPRESS_HOST ); 17 PushpressApi::setApiVersion( PUSHPRESS_VERSION ); 14 18 $client = Pushpress_Client::retrieve('self'); 15 19 set_transient( 'pp_client_info', $client, 300 ); // 5m cache
Note: See TracChangeset
for help on using the changeset viewer.