skip to Main Content

Simplify if statement? – PHP

What's a good way to reduce or simplify the following php function to check the applicable input field? <?php $options = get_option( 'navbar_style', '' ); $right = $left = $fade = ''; if( isset( $options['style'] ) ) { if( $options['style']…

VIEW QUESTION
Back To Top
Search