Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10722, comment 22


Ignore:
Timestamp:
04/15/2017 09:17:59 AM (8 years ago)
Author:
waisir
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10722, comment 22

    initial v1  
    11https://wordpress.stackexchange.com/questions/203019/custom-endpoint-gives-404-header
     2
     3
     4{{{#!php
     5<?php
     6add_rewrite_endpoint( 'my-page', EP_PERMALINK );
     7add_rewrite_rule( '^store/checkout', 'index.php?my-page=mtc-checkout', 'top' );
     8}}}