Hot answers tagged wp-options
If you want a quick programmatic way of looping through everything you have in the cron row inside wp_options and you have access to the site's database directly (either in a local development environment or on a webhost), you can run something like this via the command line: mysql $YOUR_DB_NAME -e "SELECT option_value FROM wp_options WHERE ...
$values = get_option( 'option_name') // Create array from string $values_array = explode( PHP_EOL, $values ); sort( $values_array ); // Create string from sorted array $sorted_values = implode( PHP_EOL, $values_array ); Read more about the sort function
When your Cron array gets stuffed with more than one task, then there's a high chance, that you either forgot to check if there's already an unfinished task in the queue, or you have the config wrong. The config array gets used to ID a task in the queue. Meaning if you for e.g. have a typo or some other difference between wp_next_schedule() checks and ...
That entry is a PHP serialized array. The serialize method takes an array and stores it's value as a string so it can be stored elsewhere - like a database. In the above example, the "s:" entries stand for "string:". With a serialized array, each element's data type is represented by a letter (a, s, o, etc) followed by a colon, then an optional length, and ...
Only top voted, non community-wiki answers of a minimum length are eligible