allow_dev_auto_core_updates

allow_dev_auto_core_updates

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('allow_dev_auto_core_updates') is found 3 times:

  • /wp-admin/includes/class-core-upgrader.php line 357
    			 *
    			 * @param bool $upgrade_dev Whether to enable automatic updates for
    			 *                          development versions.
    			 */
    			if ( ! apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev ) ) {
    				return false;
    			}
    			// Else fall through to minor + major branches below.
    		}
    
    		// 4: Minor in-branch updates (3.7.0 -> 3.7.1 -> 3.7.2 -> 3.7.4).
    
  • /wp-admin/includes/class-wp-site-health-auto-updates.php line 421
    			);
    		}
    
    		/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    		if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) {
    			return array(
    				'description' => sprintf(
    					/* translators: %s: Name of the filter used. */
    					__( 'WordPress development updates are blocked by the %s filter.' ),
    					'<code>allow_dev_auto_core_updates</code>'
    				),
    
  • /wp-admin/update-core.php line 383
    		$can_set_update_option = false;
    	}
    
    	/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    	$upgrade_dev = apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev );
    	/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    	$upgrade_minor = apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor );
    	/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    	$upgrade_major = apply_filters( 'allow_major_auto_core_updates', $upgrade_major );
    
    	$auto_update_settings = array(