Changeset 30537 for trunk/src/wp-includes/cron.php
- Timestamp:
- 11/24/2014 04:57:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r29939 r30537 350 350 * 351 351 * The 'display' is the description. For the 'weekly' key, the 'display' would 352 * be <code>__('Once Weekly')</code>.352 * be `__( 'Once Weekly' )`. 353 353 * 354 354 * For your plugin, you will be passed an array. you can easily add your 355 355 * schedule by doing the following. 356 * <code>357 * // filter parameter variable name is 'array'358 * 359 * 360 * 'display' => __('Once Weekly')361 * 362 * </code>356 * 357 * // Filter parameter variable name is 'array'. 358 * $array['weekly'] = array( 359 * 'interval' => 604800, 360 * 'display' => __( 'Once Weekly' ) 361 * ); 362 * 363 363 * 364 364 * @since 2.1.0
Note: See TracChangeset
for help on using the changeset viewer.