Skip to content

Commit

Permalink
Update public/themes/wordplate/functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed May 3, 2024
1 parent d6f03fc commit 35fe1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/themes/wordplate/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@
add_filter('wp_mail_from', fn() => env('MAIL_FROM_ADDRESS', 'hello@example.com'));
add_filter('wp_mail_from_name', fn() => env('MAIL_FROM_NAME', 'Example'));

// Rename wp-json to api.
// Rename /wp-json to /api.
add_filter('rest_url_prefix', fn() => 'api');

0 comments on commit 35fe1e6

Please sign in to comment.