Home / APIs / Bulk_Theme_Upgrader_Skin::bulk_footer() –

You appear to be a bot. Output may be restricted

Description

Usage

Bulk_Theme_Upgrader_Skin::bulk_footer();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-bulk-theme-upgrader-skin.php
Lines: 1 to 22 of 22

  public function bulk_footer() {
    parent::bulk_footer();
    $update_actions =  array(
      'themes_page' => '<a href="' . self_admin_url( 'themes.php' ) . '" target="_parent">' . __( 'Return to Themes page' ) . '</a>',
      'updates_page' => '<a href="' . self_admin_url( 'update-core.php' ) . '" target="_parent">' . __( 'Return to WordPress Updates page' ) . '</a>'
    );
    if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) )
      unset( $update_actions['themes_page'] );

    
/**
 * Filters the list of action links available following bulk theme updates.
 *
 * @since 3.0.0
 *
 * @param array $update_actions Array of theme action links.
 * @param array $theme_info     Array of information for the last-updated theme.
 */
    $update_actions = apply_filters( 'update_bulk_theme_complete_actions', $update_actions, $this->theme_info );

    if ( ! empty($update_actions) )
      $this->feedback(implode(' | ', (array)$update_actions));
  }
 

 View on GitHub View on Trac

Published: 12th March 2017 | Last updated: 12th March 2017

Information

Function name: Bulk_Theme_Upgrader_Skin::bulk_footer
Class ref: Bulk_Theme_Upgrader_Skin
Plugin ref: WordPress
Version: 5.0.3
Sourcefile: wp-admin/includes/class-bulk-theme-upgrader-skin.php
File ref: wp-admin/includes/class-bulk-theme-upgrader-skin.php
Deprecated?: No
API Letters: B,S,T,U

  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Sites
  • Sitemap
  • Blog
WooCommerce a2z WooCommerce a2z
WooCommerce

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins