aioseo_sitemap_ping_recurring

aioseo_sitemap_ping_recurring

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

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

do_action('aioseo_sitemap_ping_recurring') is found 1 times:

  • /app/Common/Sitemap/Ping.php line 75
    	public function scheduleRecurring() {
    		try {
    			if ( ! as_next_scheduled_action( 'aioseo_sitemap_ping_recurring' ) ) {
    
    				$interval = apply_filters( 'aioseo_sitemap_ping_recurring', DAY_IN_SECONDS );
    				as_schedule_recurring_action( strtotime( 'tomorrow' ), $interval, 'aioseo_sitemap_ping_recurring', [], 'aioseo' );
    			}
    		} catch ( \Exception $e ) {
    			// Do nothing.
    		}
    	}
    

See this hook used in plugins: