Checkbox conflict in my custom plugin admin page

you are registering two separate settings groups for setting fields & the problem might be here. function set_options() { register_setting( ‘checkbox-1-settings’, ‘my_checkbox_1_name’ ); register_setting( ‘checkbox-2-settings’, ‘my_checkbox_2_name’ ); } so use only one settings group for both fields to see if it works. function set_options() { register_setting( ‘checkbox-settings’, ‘my_checkbox_1_name’ ); register_setting( ‘checkbox-settings’, ‘my_checkbox_2_name’ ); } Update … Read more

WP_Query and NULL meta keys

I do not believe there is a way to do both queries in one within WordPress. If the filters you have in place are working and aren’t injecting raw user input into the database query then what is the issue? that is exactly what the filters are there for. If you are uncomfortable using the … Read more