How to unset / remove a control
-
Hi,
Is there a way to remove a control?
For example I’d like to remove the post status control.This is not working (but is working for other global controls and panels):
function my_customize_register() { global $wp_customize; $wp_customize->remove_control( 'post_status' ); // not working } add_action( 'customize_register', 'my_customize_register', 11);
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to unset / remove a control’ is closed to new replies.