settings['multiple'] ) ? $this->settings['multiple'] : ''; // Note value is a string $return_format = isset( $this->settings['return_format'] ) ? $this->settings['return_format'] : ''; if( $return_format == 'id' && $multiple_values == '0' ) { echo $this->indent . htmlspecialchars("var_name. ' = ' . $this->get_field_method . "( '" . $this->name ."'". $this->location_rendered_param . " ); ?>")."\n"; echo $this->indent . htmlspecialchars("var_name." ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" var_name." ); ?>\">var_name." ); ?>")."\n"; echo $this->indent . htmlspecialchars("")."\n"; } if ( $return_format == 'id' && $multiple_values == '1' ) { echo $this->indent . htmlspecialchars("var_name." = " . $this->get_field_method . "( '" . $this->name ."'". $this->location_rendered_param . " ); ?>")."\n"; echo $this->indent . htmlspecialchars("var_name." ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" var_name." as \$post_ids ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" \">")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars("")."\n"; } if ( $return_format == 'object' && $multiple_values == '0' ) { echo $this->indent . htmlspecialchars("var_name." = " . $this->get_field_method . "( '" . $this->name ."'". $this->location_rendered_param . " ); ?>")."\n"; echo $this->indent . htmlspecialchars("var_name." ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" var_name."; ?>")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars(" \">")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars("")."\n"; } if ( $return_format == 'object' && $multiple_values == '1' ) { echo $this->indent . htmlspecialchars("var_name." = " . $this->get_field_method . "( '" . $this->name ."'". $this->location_rendered_param . " ); ?>")."\n"; echo $this->indent . htmlspecialchars("var_name." ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" var_name." as \$post ) : ?>")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars(" \">")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars(" ")."\n"; echo $this->indent . htmlspecialchars("")."\n"; }