Viewing 5 reply threads
  • Author
    Posts
    • #2700
      ajayphp
      Member

      I created admin page with few fields, with not cpt
      i able to get the pre save data in filter – piklist_pre_update_option/
      but that is not correct saving process, as that was only for option page
      , but here is i have to save in custom table Not any wp core table

      so how to do that, hope there is action for that rather filter
      or your suggestive way.

      Regards

    • #2705
      Steve
      Keymaster

      @ajayphp– You don’t have to just use Piklist hooks, you can also use WordPress actions as well. Try this >

    • #2708
      ajayphp
      Member

      Hi,

      I usually you wp hook “save_post”, but here i am creating not post type,

      this is just a admin page .., where i have form and that have to save,

      which piklist hook will save data of admin page..?

    • #2717
      Steve
      Keymaster

      @ajayphp– If you’re using a WordPress admin page with settings then piklist_pre_update_option will work.

    • #2723
      ajayphp
      Member

      Hi,,

      piklist_pre_update_option is filter not action hook

      i tried with filter – piklist_pre_update_option

      but i these are not related to wp setting its form data relate to custom table.

      so here should be action hook .. with not returning data.

    • #2727
      Steve
      Keymaster

      @ajayphp– The ability to save to custom tables is not yet supported.

Viewing 5 reply threads
  • The topic ‘how to save data of custom admin_page form’ is closed to new replies.