Skip to content

Commit

Permalink
Disable unused horizontal spacing customizer options
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrakern committed Sep 21, 2024
1 parent 6990280 commit 5ec2bd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ function fcnmm_modify_customizers( $manager ) {
$manager->remove_control( 'header_height_max' );
$manager->remove_control( 'page_style' );
$manager->remove_control( 'page_shadow' );
$manager->remove_control( 'horizontal_spacing_min' );
$manager->remove_control( 'horizontal_spacing_max' );
$manager->remove_control( 'horizontal_spacing_small_min' );
$manager->remove_control( 'horizontal_spacing_small_max' );
}
add_action( 'customize_register', 'fcnmm_modify_customizers', 99 );

Expand Down

0 comments on commit 5ec2bd8

Please sign in to comment.