WordPress.org

Ready to get started?Download WordPress

Forums

Static url for function (2 posts)

  1. boy9032
    Member
    Posted 5 months ago #

    I create an plugin and want when user submit a form can progress on that function . ie : form submit url : mysite.com/formsubmit1
    this url can only progress with funciton : formsubmit1() {}
    how can i define that on wordpress.

    JKen.

  2. bcworkz
    Member
    Posted 5 months ago #

    You want to execute a function who's name is the same as a page slug?
    Try the PHP function call_user_func()

Reply

You must log in to post.

About this Topic

Tags

No tags yet.