aioseo_run_updates

aioseo_run_updates

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.4.2

do_action('aioseo_run_updates') is found 1 times:

  • /app/Common/Main/Updates.php line 226
    			$this->addWritingAssistantTables();
    			aioseo()->access->addCapabilities();
    		}
    
    		do_action( 'aioseo_run_updates', $lastActiveVersion );
    
    		// Always clear the cache if the last active version is different from our current.
    		if ( version_compare( $lastActiveVersion, AIOSEO_VERSION, '<' ) ) {
    			aioseo()->core->cache->clear();
    		}
    	}