bp_get_activity_post_form_action()
Return the activity post form action.
Description Description
Return Return
(string) The activity post form action.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_post_form_action() {
/**
* Filters the action url used for the activity post form.
*
* @since 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 Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |