Skip to content

[Resolved] Sync WP Roles on option update

Home Forums PP2 Technical Issues Sync WP Roles on option update

This topic contains 3 replies, has 2 voices, and was last updated by 4 weeks, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22340 Reply

    Currently, presspermit synchronizes groups with wp roles upon a member profile has been saved. That could be done better, as there would be a gap while new wp roles are added, but no wp member account has been updated.

    Better use https://developer.wordpress.org/reference/hooks/update_option_option/ instead of profile_update, so just replace in file filters-maint_pp.php line 44

    with

    Kind regards,
    Matthias

    #22351 Reply

    [ login required ]

    #22357 Reply

    [ login required ]

    #22360 Reply

    [ login required ]

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Registered members have full access to Pro support forums here.

Feel free to log in or purchase a support key.