Changeset 11352 for trunk/src/bp-xprofile/bp-xprofile-cache.php
- Timestamp:
- 12/29/2016 02:16:02 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-cache.php
r10434 r11352 307 307 add_action( 'xprofile_field_after_save', 'bp_xprofile_clear_field_cache' ); 308 308 309 /** 310 * Clear the field-name cache. 311 * 312 * @since 2.8.0 313 */ 314 function bp_xprofile_reset_fields_by_name_cache_incrementor() { 315 bp_core_reset_incrementor( 'bp_xprofile_fields_by_name' ); 316 } 317 add_action( 'xprofile_field_before_save', 'bp_xprofile_reset_fields_by_name_cache_incrementor' ); 318 309 319 // List actions to clear super cached pages on, if super cache is installed. 310 320 add_action( 'xprofile_updated_profile', 'bp_core_clear_cache' );
Note: See TracChangeset
for help on using the changeset viewer.