• Resolved mw360

    (@mw360)


    Hello.

    We currently are applying some field > title automation for post titles using your filter ‘pods_api_pre_save_pod_item_xxxxxxx’ which works great for that purpose.

    However, it has no impact on the generated slug.

    Is there a facility for that within the above filter, or do we need to do this outside of a pods function altogether? Are there any examples related to this?

    I could not find within the documentation or searches anything specifically addressing this.

    Thanks much

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    You would access the slug in the same way you’re accessing the post title, it should be in the object fields array, just like post_title, and you would change its value in the same way.

    This would be the case with any fields that are specifically from the wp_post table.

Viewing 1 replies (of 1 total)

The topic ‘filter: alter slug with title?’ is closed to new replies.