Add argument for ACF
-
Hi,
First of all congratulations with this very useful and flexible plugin! Great great work!
In the docs I found a filter to add an extra argument: display_posts_shortcode_args (https://www.billerickson.net/?p=4091)
Is it possible to pass the value of an Advanced Custom Field as an extra argument to the shortcode? eg:
[display-posts post_type=”event” acf=”date”]
This would output a list of all events and their date.
Or maybe I should use the filter display_posts_shortcode_output?
But limited to the custom-post-type ‘event’?Your help is very appreciated! ??
thx!!
https://www.ads-software.com/plugins/display-posts-shortcode/
- The topic ‘Add argument for ACF’ is closed to new replies.