archive_blog WordPress Action Hook

The archive_blog hook is a custom WordPress hook that allows you to add an archive of your blog posts to your WordPress site. This is a great way to keep your blog posts organized and accessible to your readers.

do_action( 'archive_blog', int $site_id ) #

Fires when the ‘archived’ status is added to a site.


Parameters

$site_id

(int)Site ID.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.