Skip to content

Commit

Permalink
Set default label for delayed actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Oct 26, 2023
1 parent a5f301a commit 7dc44ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,11 @@ public static function get_delay_actions() {

$actions[ $slug ]['meta_key_suffix'] = $slug;
$actions[ $slug ]['delayed_payment_integration'] = true;
$actions[ $slug ]['label'] = \sprintf(
/* translators: %s: plugin title */
\__( 'Process %s feeds', 'pronamic_ideal' ),
$addon->plugin_page_title()
);

if ( isset( $addon->delayed_payment_integration['option_label'] ) ) {
$actions[ $slug ]['label'] = $addon->delayed_payment_integration['option_label'];
Expand Down

0 comments on commit 7dc44ae

Please sign in to comment.