Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

How to get different data each time? #27

@pestevez

Description

@pestevez

I am trying to generate random posts every few minutes using a cron job but for the given file I always get the same post title and content:

Trendwerk\Faker\Entity\Post:
  post{1..1}:
    post_content: <paragraphs(4, true)>
    post_title: '<sentence()>'

this is how my command looks like:

wp faker fake post.yml

Is it possible to randomize the generated content each time the command is executed?

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions