wordpress/wp-content/themes/basic/themify/themify-admin.php
/**
 * Returns a collection of options: yes, no and default which means the theme settings will be used.
 *
 * @since 2.1.3
 *
 * @param string $yes
 * @param string $no
 * @param string $default
 * @param array $args
 *
 * @return array
 */
Returns a collection of options: yes, no and default which means the theme settings will be used.



@return array
Returns a collection of options : yes no and default which means the theme settings will be used . @return array
function themify_ternary_options( $yes = '', $no = '', $default = '', $args = array() ) {
	return wp_parse_args( $args, array(
		array(
			'value' => 'default',
			'name'  => !empty( $default ) ? $default : __( 'Default', 'themify' ),
			'selected' => true
		),
		array(
			'value'    => 'yes',
			'name'     => !empty( $yes ) ? $yes : __( 'Yes', 'themify' ),
		),
		array(
			'value' => 'no',
			'name'  => !empty( $no ) ? $no : __( 'No', 'themify' ),
		),
	));
}
function themify_ternary_options ( $ yes = '' , $ no = '' , $ default = '' , $ args = array ( ) ) { return wp_parse_args ( $ args , array ( array ( 'value' => 'default' , 'name' => ! empty ( $ default ) ? $ default : __ ( 'Default' , 'themify' ) , 'selected' => true ) , array ( 'value' => 'yes' , 'name' => ! empty ( $ yes ) ? $ yes : __ ( 'Yes' , 'themify' ) , ) , array ( 'value' => 'no' , 'name' => ! empty ( $ no ) ? $ no : __ ( 'No' , 'themify' ) , ) , ) ) ; }
Returns a collection of options: yes, no and default which means the theme settings will be used.
Returns a collection of options : yes no and default which means the theme settings will be used .