Language_Pack_Upgrader_Skin::bulk_footer
Displays the footer following the bulk update process.
Method of the class: Language_Pack_Upgrader_Skin{}
Hooks from the method
Returns
null. Nothing (null).
Usage
$Language_Pack_Upgrader_Skin = new Language_Pack_Upgrader_Skin(); $Language_Pack_Upgrader_Skin->bulk_footer();
Changelog
| Since 3.7.0 | Introduced. |
Language_Pack_Upgrader_Skin::bulk_footer() Language Pack Upgrader Skin::bulk footer code WP 6.8.3
public function bulk_footer() {
$this->decrement_update_count( 'translation' );
$update_actions = array(
'updates_page' => sprintf(
'<a href="%s" target="_parent">%s</a>',
self_admin_url( 'update-core.php' ),
__( 'Go to WordPress Updates page' )
),
);
/**
* Filters the list of action links available following a translations update.
*
* @since 3.7.0
*
* @param string[] $update_actions Array of translations update links.
*/
$update_actions = apply_filters( 'update_translations_complete_actions', $update_actions );
if ( $update_actions && $this->display_footer_actions ) {
$this->feedback( implode( ' | ', $update_actions ) );
}
}