wphooks.info - get_date_sql

get_date_sql

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/date.php:
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
		$where = $sql['where'];

		/**
		 * Filters the date query WHERE clause.
		 *
		 * @since 3.7.0
		 *
		 * @param string        $where WHERE clause of the date query.
		 * @param WP_Date_Query $this  The WP_Date_Query instance.
		 */
		return apply_filters( 'get_date_sql', $where, $this );
	}

	/**
	 * Generate SQL clauses to be appended to a main query.
	 *
	 * Called by the public WP_Date_Query::get_sql(), this method is abstracted
	 * out to maintain parity with the other Query classes.
	 *
	 * @since 4.1.0