File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed 
src/wp-content/themes/twentytwentyone Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -375,9 +375,13 @@ function twenty_twenty_one_widgets_init() {
375375 * @return void 
376376 */ 
377377function  twenty_twenty_one_content_width () {
378- 	// This variable is intended to be overruled from themes. 
379- 	// Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. 
380- 	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound 
378+ 	/** 
379+ 	 * Filters Twenty Twenty-One content width of the theme. 
380+ 	 * 
381+ 	 * @since Twenty Twenty-One 1.0 
382+ 	 * 
383+ 	 * @param int $content_width Content width in pixels. 
384+ 	 */ 
381385	$ GLOBALS 'content_width ' ] = apply_filters ( 'twenty_twenty_one_content_width ' , 750  );
382386}
383387add_action ( 'after_setup_theme ' , 'twenty_twenty_one_content_width ' , 0  );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments