WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#40412 new feature request

Filter for theme actions to add extra buttons.

Reported by: Mahesh901122 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 4.7.3
Component: Themes Keywords: 2nd-opinion
Focuses: administration Cc:
PR Number:

Description

In theme preview window we not have any filter to add extra buttons.

Not major. We'll add this with JS.


In file \wp-admin\themes.php

echo implode( ' ', $current_theme_actions );

Maybe like this:

echo implode( ' ', apply_filters( 'wp_current_theme_actions', $current_theme_actions ) );

Screenshot:

http://bsf.io/-dxku

Change History (1)

#1 @Mahesh901122
3 years ago

  • Keywords 2nd-opinion added
  • Severity changed from normal to minor
Note: See TracTickets for help on using tickets.