JReviews logo Docs
Menu
Version

jreviews:listing.update_complete_view

Allows addons to return custom HTML or a callable for the listing update completion view. If a value is returned, it replaces the default success message. Useful for addons that need custom post-update workflows or messaging.

Filter
Listings
Since 6.0.0

You need to have a working knowledge of Hooks before you get started.

Fires after listing is successfully updated, before completion view is rendered

Parameters

Name Type Description
$param1
$this->listing
$this->response
$customCompletionView null Default value is null (shows default completion view)
$listing \JReviews\App\Models\Listing The updated listing
$response \FWD\Clickfwd\Yoyo\YoyoResponse The Yoyo response object for manipulating the response

Boilerplate Code

Use the boilerplate code to start using the filter, and add your own logic to modify the first argument and return it.

fwd_add_filter('jreviews:listing.update_complete_view', function($param1, $this->listing, $this->response, $customCompletionView, $listing, $response)
{
    // Your code here
    
    return $param1;
});
Development & Support
Customizations are not included with support. We provide this information to make it easier for developers to extend the functionality. From time to time we may have some availability for custom work. Get in touch to see if there's an opportunity to work together.

Source Files

  • app/Http/Site/Yoyo/Listing/EditForm.php