adding sanitize callback for add setting

This commit is contained in:
koenemann 2016-11-25 13:37:27 +01:00
parent a660a7d2f1
commit 44ea2ea03f
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ if ( ! function_exists( 'understrap_theme_customize_register' ) ) {
'type' => 'theme_mod',
'capability' => 'edit_theme_options',
'transport' => 'refresh',
'sanitize_callback' => 'absint',
) );
$wp_customize->add_control(