Source code of the function get_all_meta_children, located in the file wp-content/plugins/zyx-term-meta/includes/parentage.php of the ZYX Term Meta plugin.
Development
- « Previous
- 1
- 2
- ...
- 9
- 10
- 11
get_all_meta_children: Source code
By the Web Warlock, Friday, 14/May/2010 13:08
source code of the function in the file parentage.php of the wp-content/plugins/zyx-term-meta/includes folder ZYX Term Meta get_all_meta_children
How to display multiple parentage in a category template
By the Web Warlock, Friday, 14/May/2010 9:44
Example of the Multiple term parentage feature with the get_all_meta_children function for Category templates.
To display all the posts that belong to a category and include multiple parentage (that is, display also the posts that belong to a meta-children term), we'll have to redo a bit the query of The Loop. What we'll do is retrieve all the children of the queried term, and use the list of ids [...]
init_term_meta_cache: Source code
By the Web Warlock, Sunday, 9/May/2010 22:23
Source code of the function init_term_meta_cache located in the file term-meta-cache.php of the wp-content/plugins/zyx-term-meta/includes folder of the plugin ZYX Term Meta.
Source code of init_term_meta_cache, located in the file wp-content/plugins/zyx-term-meta/includes/term-meta-cache.php of the ZYX Term Meta plugin.
init_term_meta_cache
By the Web Warlock, Sunday, 9/May/2010 21:48
Description of the function init_term_meta_cache located in the file wp-content/plugins/zyx-term-meta/includes / term-meta-cache.php of the plugin ZYX Term Meta. Uses the plugins_loaded hook, the wp_cache_get, wp_cache_set and wp_parse_args functions, the methods $wpdb->get_results and $wpdb->prepare, and the $wpdb->prefix property of object $wpdb, mapping to fields term_id, meta_key and meta_value. Calls add_action at priority 1.
<?php init_term_meta_cache(); ?>
- « Previous
- 1
- 2
- ...
- 9
- 10
- 11
570 queries. 1.063 seconds. Powered by WordPress
Code is magic