Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook can be used to show the first page when it's skipped (it's automatically skipped if there's only 1 category and 1 plan to choose from). If someone wants the plan to show first, use this hook
Usage
add_filter( 'wpbdp_skip_page_1' );
Parameters
- $skip (bool)
Examples
Show first page
This example will show the first page if it was omitted.
add_filter( 'wpbdp_skip_page_1', '__return_false' );