Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_meta_keys [ WordPress Function ]

get_meta_keys ( No parameters )
Returns:
  • (unknown)
Defined at:



Get a list of previously defined keys.

Source


<?php
function get_meta_keys() {
    global 
$wpdb;

    
$keys $wpdb->get_col"
            SELECT meta_key
            FROM 
$wpdb->postmeta
            GROUP BY meta_key
            ORDER BY meta_key" 
);

    return 
$keys;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics