WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

_maybe_update_plugins() WP 2.7.0

Check the last time plugins were run before checking plugin versions.

This might have been backported to WordPress 2.6.1 for performance reasons. This is used for the wp-admin to check only so often instead of every page load.

Хуков нет.


Null. Ничего.



Список изменений

С версии 2.7.0 Введена.

Код maybe update plugins: wp-includes/update.php WP 5.3.1

function _maybe_update_plugins() {
	$current = get_site_transient( 'update_plugins' );
	if ( isset( $current->last_checked ) && 12 * HOUR_IN_SECONDS > ( time() - $current->last_checked ) ) {