bp_core_clear_directory_pages_cache_settings_edit( string $option )

Clear the directory_pages cache when the bp-pages option is updated.


Description Description


Parameters Parameters

$option

(Required) Option name.


Top ↑

Source Source

File: bp-core/bp-core-cache.php

function bp_core_clear_directory_pages_cache_settings_edit( $option ) {
	if ( 'bp-pages' === $option ) {
		wp_cache_delete( 'directory_pages', 'bp_pages' );
	}
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.