1// Save the API response so we don't have to call again until tomorrow.
2set_transient( 'css_t_subscribers', $data, DAY_IN_SECONDS );
3
4// Do we have this information in our transients already?
5$transient = get_transient( 'css_t_subscribers' );
6
7// Do things...
8
9refrence:
10https://css-tricks.com/the-deal-with-wordpress-transients/