filtrod 2.0.0
get_users_drafts
Opis — z kodu źródłowego
Filters the SQL query string for the user's drafts query.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$query | string | The user's drafts query string. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'get_users_drafts', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'get_users_drafts', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii