build_page
BuildPage callbacks are invoked just after a page has been built, but before the content has been written to the file system.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event. - $args - An associative array that identifies the page being built.
The parameters given are include those sent to the BuildFileFilter callback. In addition, the following parameters are also given:
Content - This is a scalar reference to the content that will eventually be published.
BuildResult - This is a scalar reference to the content originally produced by building the page. This value is provided mainly for reference; modifications to it will be ignored.
Return Value
None.
Example Handler
sub build_page {
my ($cb, %args) = @_;
}
This page is part of the Events and Callbacks in Movable Type
- Previous build_file_filter
Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.