Skip to content

Commit

Permalink
Format code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcasual committed Aug 13, 2024
1 parent 8bf4dae commit 07edb8b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions includes/class-gravityview-merge-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,10 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,

// matching regex => the value is the method to call to replace the value.
$gv_modifiers = array(
'maxwords:(\d+)' => 'modifier_maxwords',
/** @see modifier_maxwords */
'timestamp' => 'modifier_timestamp',
/** @see modifier_timestamp */
'explode' => 'modifier_explode',
/** @see modifier_explode */

/** @see modifier_strings */
'urlencode' => 'modifier_strings',
'maxwords:(\d+)' => 'modifier_maxwords', /** @see modifier_maxwords */
'timestamp' => 'modifier_timestamp', /** @see modifier_timestamp */
'explode' => 'modifier_explode', /** @see modifier_explode */
'urlencode' => 'modifier_strings', /** @see modifier_strings */
'wpautop' => 'modifier_strings',
'esc_html' => 'modifier_strings',
'sanitize_html_class' => 'modifier_strings',
Expand All @@ -113,7 +108,7 @@ public static function process_modifiers( $value, $merge_tag, $modifier, $field,
'ucfirst' => 'modifier_strings',
'ucwords' => 'modifier_strings',
'wptexturize' => 'modifier_strings',
'format' => 'modifier_format',
'format' => 'modifier_format', /** @see modifier_format */
);

$modifiers = explode( ',', $modifier );
Expand Down

0 comments on commit 07edb8b

Please sign in to comment.