Support

Account

Home Forums General Issues Official ACF plugin for wp-cli / wp-cli seeding

Unread

Official ACF plugin for wp-cli / wp-cli seeding

  • Hi all,
    I’m using the wp-cli a lot and would like to see official ACF plugin for wp-cli. What I mean is the ability to manage ACF data via the wp-cli:

    exs:
    wp acf update <post-id> <field-name> <field-value>
    wp acf add <post-id> <field-name> [
    ‘items’ =>
    [
    [ <subfield_name> => <subfield_value> ]
    ]
    ]

    This would open an opportunity for easy seeding, ex, via Faker .

    Imagine complex where you have listing of 100 people to test “load more” and have to fill all those 100 people by hand.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.