Searched refs:wp_is_auto_update_enabled_for_type (Results 1 – 20 of 20) sorted by relevance
224 …if ( ! ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) ) {307 if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) {
488 if ( wp_is_auto_update_enabled_for_type( 'plugin' ) ) {989 …themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) || ( current_user_can( 'update_plugin…
85 …if ( ! ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) ) {105 …if ( ! ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) ) {202 } // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'.
448 …if ( ! current_user_can( 'update_plugins' ) || ! wp_is_auto_update_enabled_for_type( 'plugin' ) ) {570 if ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( 'plugin' ) ) {
1035 function wp_is_auto_update_enabled_for_type( $type ) { function
970 $auto_updates_enabled = wp_is_auto_update_enabled_for_type( 'plugin' );1087 $auto_updates_enabled = wp_is_auto_update_enabled_for_type( 'theme' );
2586 $ui_enabled_for_plugins = wp_is_auto_update_enabled_for_type( 'plugin' );2587 $ui_enabled_for_themes = wp_is_auto_update_enabled_for_type( 'theme' );
69 $this->show_autoupdates = wp_is_auto_update_enabled_for_type( 'theme' ) &&
63 $this->show_autoupdates = wp_is_auto_update_enabled_for_type( 'plugin' )
169 if ( ! $update && wp_is_auto_update_enabled_for_type( $type ) ) {