Modify activity loop to display only activies base on the publish date
Using ‘bp_after_has_activities_parse_args’, I am trying to create a post scheduler on buddypress (Will be glad if there’s an existing one) where if the publish date is greater than the date today, it will not show on the user who is viewing the profile. On the ‘bp_after_has_activities_parse_args’ filter, I saw a value that says ‘date_query’ I’m not sure if it’s the one I’m looking for. Do you have any idea how can I do this? Much appreciated if someone can help me since I’m new to Buddypress.
- You must be logged in to reply to this topic.