I\'m trying to add a custom URL using add_rewrite_rule but for some reason it is not working.
Here is my code.
add_action( \'init\', function() {