Changeset 43729 for branches/5.0/src/wp-includes/default-filters.php
- Timestamp:
- 10/15/2018 11:45:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/default-filters.php
r43502 r43729 89 89 // Meta 90 90 add_filter( 'register_meta_args', '_wp_register_meta_args_whitelist', 10, 2 ); 91 92 // Post meta 93 add_action( 'added_post_meta', 'wp_cache_set_posts_last_changed' ); 94 add_action( 'updated_post_meta', 'wp_cache_set_posts_last_changed' ); 95 add_action( 'deleted_post_meta', 'wp_cache_set_posts_last_changed' ); 96 97 // Term meta 98 add_action( 'added_term_meta', 'wp_cache_set_terms_last_changed' ); 99 add_action( 'updated_term_meta', 'wp_cache_set_terms_last_changed' ); 100 add_action( 'deleted_term_meta', 'wp_cache_set_terms_last_changed' ); 101 add_filter( 'get_term_metadata', 'wp_check_term_meta_support_prefilter' ); 102 add_filter( 'add_term_metadata', 'wp_check_term_meta_support_prefilter' ); 103 add_filter( 'update_term_metadata', 'wp_check_term_meta_support_prefilter' ); 104 add_filter( 'delete_term_metadata', 'wp_check_term_meta_support_prefilter' ); 105 add_filter( 'get_term_metadata_by_mid', 'wp_check_term_meta_support_prefilter' ); 106 add_filter( 'update_term_metadata_by_mid', 'wp_check_term_meta_support_prefilter' ); 107 add_filter( 'delete_term_metadata_by_mid', 'wp_check_term_meta_support_prefilter' ); 108 add_filter( 'update_term_metadata_cache', 'wp_check_term_meta_support_prefilter' ); 109 110 // Comment meta 111 add_action( 'added_comment_meta', 'wp_cache_set_comments_last_changed' ); 112 add_action( 'updated_comment_meta', 'wp_cache_set_comments_last_changed' ); 113 add_action( 'deleted_comment_meta', 'wp_cache_set_comments_last_changed' ); 91 114 92 115 // Places to balance tags on input
Note: See TracChangeset
for help on using the changeset viewer.