diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index ec85f3ed4ef..f3a0cbf86f9 100644
a
|
b
|
|
564 | 564 | <# if ( data.tags ) { #> |
565 | 565 | <p class="theme-tags"><span><?php _e( 'Tags:' ); ?></span> {{{ data.tags }}}</p> |
566 | 566 | <# } #> |
| 567 | <?php |
| 568 | /** |
| 569 | * Fires after all the theme info on the theme details modal. |
| 570 | * |
| 571 | * @since 5.3.0 |
| 572 | */ |
| 573 | do_action( 'after_theme_info' ); |
| 574 | ?> |
567 | 575 | </div> |
568 | 576 | </div> |
569 | 577 | |
570 | 578 | <div class="theme-actions"> |
571 | 579 | <div class="active-theme"> |
572 | 580 | <a href="{{{ data.actions.customize }}}" class="button button-primary customize load-customize hide-if-no-customize"><?php _e( 'Customize' ); ?></a> |
573 | | <?php echo implode( ' ', $current_theme_actions ); ?> |
| 581 | <?php echo implode( ' ', apply_filters( 'current_theme_actions', $current_theme_actions ) ); ?> |
| 582 | <?php |
| 583 | /** |
| 584 | * Fires after active theme actions in theme details. |
| 585 | * |
| 586 | * @since 5.3.0 |
| 587 | */ |
| 588 | do_action( 'after_active_theme_actions' ); |
| 589 | ?> |
574 | 590 | </div> |
575 | 591 | <div class="inactive-theme"> |
576 | 592 | <?php |
… |
… |
|
581 | 597 | <a href="{{{ data.actions.activate }}}" class="button activate" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a> |
582 | 598 | <# } #> |
583 | 599 | <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a> |
| 600 | <?php |
| 601 | /** |
| 602 | * Fires after inactive theme actions in theme details. |
| 603 | * |
| 604 | * @since 5.3.0 |
| 605 | */ |
| 606 | do_action( 'after_inactive_theme_actions' ); |
| 607 | ?> |
584 | 608 | </div> |
| 609 | <?php |
| 610 | /** |
| 611 | * Fires after active theme actions in theme details. |
| 612 | * |
| 613 | * @since 5.3.0 |
| 614 | */ |
| 615 | do_action( 'after_theme_actions' ); |
| 616 | ?> |
585 | 617 | |
586 | 618 | <# if ( ! data.active && data.actions['delete'] ) { #> |
587 | 619 | <a href="{{{ data.actions['delete'] }}}" class="button delete-theme"><?php _e( 'Delete' ); ?></a> |