Submit
Path:
~
/
home
/
getwphos
/
www
/
bubrupamjcb.com
/
wp-content
/
plugins
/
powerkit
/
modules
/
twitter
/
admin
/
File Content:
class-powerkit-twitter-admin.php
<?php /** * The admin-specific functionality of the module. * * @link https://codesupply.co * @since 1.0.0 * * @package Powerkit * @subpackage Modules/Admin */ /** * The admin-specific functionality of the module. */ class Powerkit_Twitter_Admin extends Powerkit_Module_Admin { /** * Initialize */ public function initialize() { add_filter( 'powerkit_reset_cache', array( $this, 'register_reset_cache' ) ); add_filter( 'powerkit_ajax_reset_cache', array( $this, 'register_reset_cache' ) ); } /** * Register Reset Cache * * @since 1.0.0 * @param array $list Change list reset cache. * @access private */ public function register_reset_cache( $list ) { $slug = powerkit_get_page_slug( $this->slug ); $list[ $slug ] = array( 'powerkit_twitter_data', 'powerkit_twitter_block_cache', 'powerkit_twitter_shortcode_cache', 'powerkit_twitter_widget_cache', ); return $list; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
class-powerkit-twitter-admin.php
953 bytes
0644
N4ST4R_ID | Naxtarrr