Skip to content

Commit

Permalink
Change example to use __()
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jul 3, 2024
1 parent 8be5189 commit fe484e0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/reference-guides/block-api/block-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,17 @@ return array(
'isActive' => array( 'service' )
),
array(
'name' => 'gravatar',
'title' => 'Gravatar',
'icon' => 'commentAuthorAvatar',
'name' => 'mail',
'title' => __( 'Mail' ),
'keywords' => array(
__( 'email' ),
__( 'e-mail' )
),
'icon' => 'mail',
'attributes' => array(
'service' => 'gravatar',
'service' => 'mail',
),
'isActive' => array( 'service' )
'isActive' => array( 'mail' )
),
);

Expand Down

0 comments on commit fe484e0

Please sign in to comment.