Make priority filterable
This commit is contained in:
parent
95415cd098
commit
10c2597b64
|
@ -42,7 +42,7 @@ if ( ! function_exists( 'understrap_theme_customize_register' ) ) {
|
|||
'title' => __( 'Theme Layout Settings', 'understrap' ),
|
||||
'capability' => 'edit_theme_options',
|
||||
'description' => __( 'Container width and sidebar defaults', 'understrap' ),
|
||||
'priority' => 160,
|
||||
'priority' => apply_filters( 'understrap_theme_layout_options_priority', 160 ),
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -90,7 +90,7 @@ if ( ! function_exists( 'understrap_theme_customize_register' ) ) {
|
|||
'container' => __( 'Fixed width container', 'understrap' ),
|
||||
'container-fluid' => __( 'Full width container', 'understrap' ),
|
||||
),
|
||||
'priority' => '10',
|
||||
'priority' => apply_filters( 'understrap_container_type_priority', 10 ),
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -125,7 +125,7 @@ if ( ! function_exists( 'understrap_theme_customize_register' ) ) {
|
|||
'both' => __( 'Left & Right sidebars', 'understrap' ),
|
||||
'none' => __( 'No sidebar', 'understrap' ),
|
||||
),
|
||||
'priority' => '20',
|
||||
'priority' => apply_filters( 'understrap_sidebar_position_priority', 20 ),
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
Reference in New Issue