Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#40412 new feature request

Filter for theme actions to add extra buttons.

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

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
7 years ago

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