sanitize_sql_orderby Wordpress function


Description:

Ensures a string is a valid SQL order by clause.


Syntax:


Arguments:

(string) $orderby Order by string to be checked.


Return Type:

(string|bool) Returns the order by clause if it is a match, false otherwise.


Define At:

wp-includes/formatting.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/sanitize_sql_orderby


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×