Skip to content

Commit

Permalink
Interactivity API: Variable name correction in api-reference.md (Word…
Browse files Browse the repository at this point in the history
…Press#60056)

Unlinked contributors: steveariss.
  • Loading branch information
steveariss authored and carstingaxion committed Mar 27, 2024
1 parent e5b0917 commit e646b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ This code
```php
wp_interactivity_state( 'myPlugin', array( 'greeting' => 'Hello, World!' ) );
$html = '<div data-wp-text="myPlugin::state.greeting"></div>';
$html_content = '<div data-wp-text="myPlugin::state.greeting"></div>';
$processed_html = wp_interactivity_process_directives( $html_content );
echo $processed_html;
```
Expand Down

0 comments on commit e646b89

Please sign in to comment.