gpb_show_setup_wizard
Description
Filter whether to show the setup wizard on the GP Bookings dashboard. By default, the wizard appears when there are no published services or resources and no resource types. The wizard remains limited to Bookings administrators, regardless of this filter’s value. Remove the filter after completing setup to restore the dashboard.
Usage
Applied globally
add_filter( 'gpb_show_setup_wizard', 'my_custom_function' );Parameters
$show_setup_wizard
bool
Whether to show the setup wizard.
Examples
Show the setup wizard with existing bookables.
add_filter( 'gpb_show_setup_wizard', '__return_true' );