Skip to content

Commit

Permalink
Update @since tags [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcasual committed Nov 4, 2024
1 parent 7c7c8c6 commit 5907106
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions future/includes/class-gv-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
/**
* Manages Grid displays.
*
* @since $ver$
* @since 2.31.0
*/
final class Grid {
/**
* A prefix to use for the area key.
*
* @since $ver$
* @since 2.31.0
*
* @var string
*/
Expand All @@ -25,7 +25,7 @@ final class Grid {
/**
* Internal counter to avoid UID clashes.
*
* @since $ver$
* @since 2.31.0
*
* @var int
*/
Expand All @@ -34,7 +34,7 @@ final class Grid {
/**
* Returns the row configuration based on a type.
*
* @since $ver$
* @since 2.31.0
*
* @param string $type The type.
* @param string|null $id The row ID. WIll be generated if not provided.
Expand Down Expand Up @@ -64,7 +64,7 @@ public static function get_row_by_type( string $type, ?string $id = null, bool $
/**
* Calculates and returns the row configurations based on a collection and the zone.
*
* @since $ver$
* @since 2.31.0
*
* @param Widget_Collection|Field_Collection $collection The collection.
* @param string $zone The zone.
Expand Down Expand Up @@ -109,7 +109,7 @@ public static function prefixed( string $prefix, callable $callback ): array {
/**
* Returns all registered row types.
*
* @since $ver$
* @since 2.31.0
*
* @return array The row types with their configuration.
*/
Expand Down
18 changes: 9 additions & 9 deletions includes/class-admin-views.php
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ function render_active_areas( $template_id, $type, $zone, $rows, $values ) {
/**
* Triggers before a row is rendered in the View editor.
*
* @since $ver$
* @since 2.31.0
*
* @action `gk/gravityview/admin-views/row/before`
*
Expand Down Expand Up @@ -1213,7 +1213,7 @@ function render_active_areas( $template_id, $type, $zone, $rows, $values ) {
/**
* Triggers after a row is rendered in the View editor.
*
* @since $ver$
* @since 2.31.0
*
* @action `gk/gravityview/admin-views/row/before`
*
Expand All @@ -1233,7 +1233,7 @@ function render_active_areas( $template_id, $type, $zone, $rows, $values ) {
/**
* Renders the row actions.
*
* @since $ver$
* @since 2.31.0
*
* @param bool $is_dynamic Whether the rows are actionable.
*/
Expand Down Expand Up @@ -1272,7 +1272,7 @@ public function render_actions(
/**
* Modifies the actions rendered in the View editor.
*
* @since $ver$
* @since 2.31.0
*
* @filter `gk/gravityview/admin-views/rows-actions`
*
Expand Down Expand Up @@ -1479,7 +1479,7 @@ function render_directory_active_areas( $template_id = '', $context = 'single',
* Modifies the template area's before rendering.
*
* @filter `gk/gravityview/admin-views/view/template/active-areas`
* @since $ver$
* @since 2.31.0
* @param array $template_areas The template areas.
* @param string $template_id Template ID.
Expand Down Expand Up @@ -1519,7 +1519,7 @@ function render_directory_active_areas( $template_id = '', $context = 'single',
/**
* Returns an "add row" button for a template zone.
*
* @since $ver$
* @since 2.31.0
*
* @param string $template_id The template ID.
* @param string $type The object type (widget or field).)
Expand Down Expand Up @@ -1595,7 +1595,7 @@ class="gv-add-row"
/**
* Returns whether the widgets should be dynamic; based on the plugin setting.
*
* @since $ver$
* @since 2.31.0
*
* @param bool $is_dynamic Whether the zone is dynamic.
* @param string $_ The template ID (unused))
Expand Down Expand Up @@ -1890,7 +1890,7 @@ function register_no_conflict( $registered ) {
/**
* Returns whether the zone is dynamic.
*
* @since $ver$
* @since 2.31.0
*
* @param string $template_id The template ID.
* @param string $type The type.
Expand All @@ -1902,7 +1902,7 @@ private function is_dynamic( string $template_id, string $type, string $zone ):
* Modifies whether the zone is sortable.
*
* @filter `gk/gravityview/view/template/active-areas`
* @since $ver$
* @since 2.31.0
* @param bool $is_dynamic Whether area is dynamic, meaning sortable / deletable / acionable.
* @param string $template_id Template ID.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function get_active_areas() {
/**
* Returns the HTML for a new grid row.
*
* @since $ver$
* @since 2.31.0
*/
public function create_row() {
$this->check_ajax_nonce();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct() {
/**
* Adds `choice_display` setting to the field
*
* @since TBD
* @since 2.31.0
*
* @param array $field_options
* @param string $template_id
Expand Down
4 changes: 2 additions & 2 deletions templates/fields/field-image_choice-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The default Image Choice field output template.
*
* @since 2.31
* @since 2.31.0
*
* @global Template_Context $gravityview
*/
Expand All @@ -29,7 +29,7 @@
/**
* Overrides whether to show the value or the label of an Image Choice field.
*
* @since 2.31
* @since 2.31.0
*
* @param bool $show_label True to display the label of the choice; false to display the value. Default is false.
* @param array $entry The Gravity Forms entry.
Expand Down

0 comments on commit 5907106

Please sign in to comment.