gravityflow_back_link_url_entry_detail
The gravityflow_back_link_url_entry_detail is used to customize the URL of the back link from the entry detail page. Useful in scenarios where you are presenting inbox or status views of entries through a non-Gravity Flow solution such as Gravity Views.
Parameters
$url string The customized URL to redirect user to when clicking the back lin
$args array The shortcode attributes for the current page
Example
add_filter( 'gravityflow_back_link_url_entry_detail', 'sh_return_specific_url', 10, 2 ); function sh_return_specific_url( $url, $args ) { if ( strpos( $args['detail_base_url'], 'specific-page-scenario' ) > 0 ) { $url = 'http://custom-return-url-for-entry-detail.com'; } return $url; }
Placement
This code should be placed in the functions.php file of your active theme.