WPDev.one
Core Function
View Source on Trac ↗

_wp_mysql_week()

_wp_mysql_week( mixed $column )

Returns a MySQL expression for selecting the week number based on the start_of_week option.

Parameters 1 required

Name / Type Description
$column
string

Database column.

Required

Return Value

(string)
SQL clause.

Function Information

Since Version
3.0.0
Source File
wp-includes/functions.php
Advertisement