LLMS_Comments::exclude_order_comments_from_feed_where( string $where )

Exclude order comments from queries and RSS.


Parameters Parameters

$where

(string) (Required) SQL where clause.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class.llms.comments.php

	public static function exclude_order_comments_from_feed_where( $where ) {
		global $wpdb;
		if ( $where ) {
			$where .= ' AND ';
		}
		$where .= " $wpdb->posts.post_type NOT IN ('" . implode( "','", array( 'llms_order' ) ) . "') ";
		return $where;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.