javascript - Overwrite validation for creation of wordpress posts via rest api -


i ran problem wordpress side:

i want build javascript app can create posts from. should seperated wordpress backend , communicate via rest api. far good. connecting , can create post.

the problem comes tags. want give user possibility type in tags wants, comma seperated , send them wordpress post. problem is: comma seperated list of tags, of in wordpress, not. can't send them wordpress because accepts array of integers.

so question: there solution, than

  1. get available tags
  2. check ones of entered tags in wordpress
  3. create others
  4. build array ideas , send article

because process take long if user doesn't have in mean time , close window before done.

my preferred way send comma-seperated string or array of slugs backend , create missing tags.

is there way that? in advance :)


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -