get_date_sql

get_date_sql

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_date_sql') is found 1 times:

  • /wp-includes/class-wp-date-query.php line 567
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
         *
         * @param string        $where WHERE clause of the date query.
         * @param WP_Date_Query $query The WP_Date_Query instance.
         */
        return apply_filters( 'get_date_sql', $where, $this );
    }
     
    /**
     * Generates SQL clauses to be appended to a main query.
     *
     * Called by the public WP_Date_Query::get_sql(), this method is abstracted