Created
January 30, 2019 21:39
-
-
Save sebastianmoran-mainwp/cfff221c2839cd92adc7e5277a7492db to your computer and use it in GitHub Desktop.
MainWP Child Report Plugin reduce number of days data is stored for
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$val = get_option('mainwp_wp_stream'); | |
if (!is_array($val)) { | |
$val = array(); | |
} | |
$val['general_records_ttl'] = 60; // for example | |
update_option('mainwp_wp_stream', $val); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment