Reply To: Add Registration Form button

Home Forums User Registration Add Registration Form button Reply To: Add Registration Form button

#13459

sanjeev3
Member

Hi there,

To inform you that the editor will have the capability to add the registration form by default. There will not be any fix for this. You can customize it to use as per your requirements.

add_filter( 'ur_display_media_button', 'ur_custom_capability' );
function custom_capability() {
    if( ! current_user_can( 'manage_user_registration' ) || ! is_admin() ) {
            return false;
    }
}

Hope this helps!