wpbdp_listing_require_email

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.

When set to false, the email address field in the ratings form will be hidden for logged out users.

Usage

add_filter( 'wpbdp_listing_require_email', 'hide_bd_rating_email' );

Parameters

  • $show (boolean) Should the email field show?

Examples

Hide the email field

add_filter( 'wpbdp_listing_require_email', '__return_false' );

Change Log

Added in version 5.3

Need Support?

Can't find the answer you're looking for?
Contact Support