public function wp_link_query( array $results ) {
		foreach ( $results as $index => $value ) {
			$post_type = papi_get_post_type( $value['ID'] );
			$name      = papi_get_page_type_name( $value['ID'] );

			if ( empty( $name ) ) {
				$name = papi_filter_settings_standard_page_type_name( $post_type );
			}

			$results[$index]['info'] = esc_html( $name );
		}

		return $results;
	}
public function wp_link_query( array $results ) {
		foreach ( $results as $index => $value ) {
			$post_type = papi_get_post_type( $value['ID'] );
			$name      = papi_get_page_type_name( $value['ID'] );

			if ( empty( $name ) ) {
				$name = papi_filter_settings_standard_page_type_name( $post_type );
			}

			$results[$index]['info'] = esc_html( $name );
		}

		return $results;
	}
public function wp_link_query ( array $ results ) { foreach ( $ results as $ index => $ value ) { $ post_type = papi_get_post_type ( $ value [ 'ID' ] ) ; $ name = papi_get_page_type_name ( $ value [ 'ID' ] ) ; if ( empty ( $ name ) ) { $ name = papi_filter_settings_standard_page_type_name ( $ post_type ) ; } $ results [ $ index ] [ 'info' ] = esc_html ( $ name ) ; } return $ results ; }
Filter the link query results.

@param  array $results

@return array
Filter the link query results .