Skip to content

Commit

Permalink
Fix incorrectly formatted doc
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 12, 2023
1 parent 57f225a commit 865f072
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions src/my-calendar-event-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1908,32 +1908,30 @@ function mc_event_location_dropdown_block( $data ) {
* @return array
*/
function mc_event_access() {
$choices = array(
'1' => __( 'Audio Description', 'my-calendar' ),
'2' => __( 'ASL Interpretation', 'my-calendar' ),
'3' => __( 'ASL Interpretation with voicing', 'my-calendar' ),
'4' => __( 'Deaf-Blind ASL', 'my-calendar' ),
'5' => __( 'Real-time Captioning', 'my-calendar' ),
'6' => __( 'Scripted Captioning', 'my-calendar' ),
'7' => __( 'Assisted Listening Devices', 'my-calendar' ),
'8' => __( 'Tactile/Touch Tour', 'my-calendar' ),
'9' => __( 'Braille Playbill', 'my-calendar' ),
'10' => __( 'Large Print Playbill', 'my-calendar' ),
'11' => __( 'Sensory Friendly', 'my-calendar' ),
'12' => __( 'Other', 'my-calendar' ),
);
/**
* Filter available event accessibility options.
*
* @hook mc_event_access_choices
*
* @param {array} Indexed array of choices. Events store only the index.
* @param {array} $choices Indexed array of choices. Events store only the index.
*
* @return {array}
*/
$event_access = apply_filters(
'mc_event_access_choices',
array(
'1' => __( 'Audio Description', 'my-calendar' ),
'2' => __( 'ASL Interpretation', 'my-calendar' ),
'3' => __( 'ASL Interpretation with voicing', 'my-calendar' ),
'4' => __( 'Deaf-Blind ASL', 'my-calendar' ),
'5' => __( 'Real-time Captioning', 'my-calendar' ),
'6' => __( 'Scripted Captioning', 'my-calendar' ),
'7' => __( 'Assisted Listening Devices', 'my-calendar' ),
'8' => __( 'Tactile/Touch Tour', 'my-calendar' ),
'9' => __( 'Braille Playbill', 'my-calendar' ),
'10' => __( 'Large Print Playbill', 'my-calendar' ),
'11' => __( 'Sensory Friendly', 'my-calendar' ),
'12' => __( 'Other', 'my-calendar' ),
)
);
$event_access = apply_filters( 'mc_event_access_choices', $choices );

return $event_access;
}
Expand Down

0 comments on commit 865f072

Please sign in to comment.