Changeset 1553513
- Timestamp:
- 12/13/2016 10:06:26 AM (9 years ago)
- File:
-
- 1 edited
-
social-bot-hook/trunk/social-bot-hook.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-bot-hook/trunk/social-bot-hook.php
r1553231 r1553513 5 5 Author: Shahid Shaikh 6 6 Author URI: https://codeforgeek.com/about 7 Version: 1.1. 17 Version: 1.1.2 8 8 */ 9 9 function sbh_retrieve_random_post() { … … 14 14 } 15 15 $sbhPost = $sbhRandomPost[0]; 16 if (!isset($sbhResponse)) 17 $sbhResponse= new stdClass(); 16 18 $sbhResponse->post_title = $sbhPost->post_title; 17 19 $sbhResponse->permalink = get_permalink($sbhPost->ID);
Note: See TracChangeset
for help on using the changeset viewer.