Last active
October 24, 2016 11:14
-
-
Save mattheu/afedf266e2b3ae0bb828c80ca1b15665 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'rest_api_init', 'my_rest_api' ); | |
function my_rest_api() { | |
// My custom endpoint code here. | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment