rch_statistics_' ); aioseo()->core->cache->clearPrefix( 'search_statistics_' ); } /** * Returns all scheduled Search Statistics related actions. * * @since 4.6.2 * * @return array The Search Statistics actions. */ protected function getActionSchedulerActions() { return [ $this->site->action, $this->sitemap->action ]; } /** * Cancels all scheduled Search Statistics related actions. * * @since 4.3.3 * @version 4.6.2 Moved from Pro to Common. * * @return void */ public function cancelActions() { foreach ( $this->getActionSchedulerActions() as $actionName ) { as_unschedule_all_actions( $actionName ); } } }