wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_schedule_update_checks › WordPress Function
Desde3.1.0
Obsoleton/a
› wp_schedule_update_checks ( Sem parâmetros )
Definido em: |
|
Codex: |
Schedules core, theme, and plugin update checks.
Fonte
function wp_schedule_update_checks() { if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() ) { wp_schedule_event( time(), 'twicedaily', 'wp_version_check' ); } if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() ) { wp_schedule_event( time(), 'twicedaily', 'wp_update_plugins' ); } if ( ! wp_next_scheduled( 'wp_update_themes' ) && ! wp_installing() ) { wp_schedule_event( time(), 'twicedaily', 'wp_update_themes' ); } }