Programmatically create user criteria

Front Support Plugins Support WP Reviews Plugin Programmatically create user criteria

This topic contains 3 replies, has 2 voices, and was last updated by  Hesham 3 years, 7 months ago.

  • Author
  • #3569

    I’ve got a custom post type ‘products’ within a taxonomy ‘product-categories’.

    Since there are almost 150 products I wonder if it is possible to setup the user criteria for all the products automatically ?

    The user criteria are the same for each product.

  • #3576


    I can’t help with this at this time, it will require a custom code to run through all posts and insert the criteria!

  • #3588

    But it is possible ?

    I noticed that the plugin adds several custom fields.
    Would it be possible if I add these custom fields to all the posts with custom post type ‘products’ ?
    Can you point me in the right direction ? Which functions would I need ?

    • #3594


      Sorry, it’s not that simple. You may want to hire a developer to do a custom code for you to insert the criteria fields.

The forum ‘WP Reviews Plugin’ is closed to new topics and replies.