bp_get_activity_post_form_action()
Return the activity post form action.
Description
Return
(string) The activity post form action.
Source
File: bp-activity/bp-activity-template.php
3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 | function bp_get_activity_post_form_action() { /** * Filters the action url used for the activity post form. * * @since BuddyPress 1.2.0 * * @param string $value URL to be used for the activity post form. */ return apply_filters( 'bp_get_activity_post_form_action' , home_url( bp_get_activity_root_slug() . '/post/' ) ); } |
Changelog
Version | Description |
---|---|
BuddyPress 1.2.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.