Skip to content

Commit

Permalink
Merge pull request #291 from 10up/fix/289
Browse files Browse the repository at this point in the history
Fix apostrophe in readme
  • Loading branch information
jeffpaul authored Dec 6, 2023
2 parents 8b80e38 + 996d481 commit 8e3ea4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Developers can use the `restricted_site_access_is_restricted` filter to override

For instance, to unblock an RSS feed, place the following PHP code in the theme's functions.php file or in a simple plug-in:

`add_filter( 'restricted_site_access_is_restricted', 'my_rsa_feed_override, 10, 2 );
`add_filter( 'restricted_site_access_is_restricted', 'my_rsa_feed_override', 10, 2 );

function my_rsa_feed_override( $is_restricted, $wp ) {
// check query variables to see if this is the feed
Expand Down

0 comments on commit 8e3ea4b

Please sign in to comment.