public function process_query( $the_query ) {
		$return = null;
		if ( $the_query->have_posts() ) {
			while ( $the_query->have_posts() ) {
				$the_query->the_post();
				$return .= '<div class="uix-post-relation-item"><span class="uix-post-relation-add dashicons dashicons-plus" data-id="' . esc_html( $this->id() ) . '"></span>';
				$return .= '<span class="uix-relation-name">' . get_the_title() . '</span>';
				$return .= '<input class="uix-post-relation-id" type="hidden" name="' . esc_html( $this->name() ) . '[]" value="' . esc_attr( get_the_ID() ) . '" disabled="disabled">';
				$return .= '</div>';
			}
			wp_reset_postdata();
			$return .= '<div class="uix-post-relation-pager">';
			$return .= $this->pagination( $the_query );
			$return .= '</div>';
		} else {
			$return .= '<div class="uix-post-relation-no-results">' . esc_html__( 'Nothing found', 'uix' ) . '</div>';
		}

		return $return;
	}
public function process_query( $the_query ) {
		$return = null;
		if ( $the_query->have_posts() ) {
			while ( $the_query->have_posts() ) {
				$the_query->the_post();
				$return .= '<div class="uix-post-relation-item"><span class="uix-post-relation-add dashicons dashicons-plus" data-id="' . esc_html( $this->id() ) . '"></span>';
				$return .= '<span class="uix-relation-name">' . get_the_title() . '</span>';
				$return .= '<input class="uix-post-relation-id" type="hidden" name="' . esc_html( $this->name() ) . '[]" value="' . esc_attr( get_the_ID() ) . '" disabled="disabled">';
				$return .= '</div>';
			}
			wp_reset_postdata();
			$return .= '<div class="uix-post-relation-pager">';
			$return .= $this->pagination( $the_query );
			$return .= '</div>';
		} else {
			$return .= '<div class="uix-post-relation-no-results">' . esc_html__( 'Nothing found', 'uix' ) . '</div>';
		}

		return $return;
	}
public function process_query ( $ the_query ) { $ return = null ; if ( $ the_query -> have_posts ( ) ) { while ( $ the_query -> have_posts ( ) ) { $ the_query -> the_post ( ) ; $ return .= '<div class="uix-post-relation-item"><span class="uix-post-relation-add dashicons dashicons-plus" data-id="' . esc_html ( $ this -> id ( ) ) . '"></span>' ; $ return .= '<span class="uix-relation-name">' . get_the_title ( ) . '</span>' ; $ return .= '<input class="uix-post-relation-id" type="hidden" name="' . esc_html ( $ this -> name ( ) ) . '[]" value="' . esc_attr ( get_the_ID ( ) ) . '" disabled="disabled">' ; $ return .= '</div>' ; } wp_reset_postdata ( ) ; $ return .= '<div class="uix-post-relation-pager">' ; $ return .= $ this -> pagination ( $ the_query ) ; $ return .= '</div>' ; } else { $ return .= '<div class="uix-post-relation-no-results">' . esc_html__ ( 'Nothing found' , 'uix' ) . '</div>' ; } return $ return ; }
Processes the query and returns the row html

@since  1.0.0
@access public
@return string HTML of processed results
Processes the query and returns the row html