WP Manifestindependent plugin directory
manifest / unclassified / mai-user-post

Mai User Post

A developer plugin to connect and sync a user to an individual custom post type entry.

by BizBudding, Mike Hemberger · github.com/maithemewp/mai-user-post · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/maithemewp/mai-user-post/archive/refs/heads/master.zip

Declares an update source (https://github.com/maithemewp/mai-user-post), so updates arrive through the plugin's own updater.

From the readme

Mai User Post A developer plugin to connect and sync a user to an individual custom post type entry. This plugin requires PHP filters in order to use. See below. Enable user roles (required) maiupuserroles In order for any user and user entry to be created and/or synced you need to enable a user role or roles via the following filter. Sync data By default, Mai User Post creates and syncs the following data both ways. | User | Post | |---------------------|--------:| | Display Name | Title | | Biography | Excerpt | | postcontent meta | Content | Add sync data maiupmetakeys Add default meta keys to be synced between users and the user post. The following example syncs WooCommerce billing address/info to the user post. maiupacfkeys Add ACF meta keys to sync from user to post meta. Uses getfield and updatefield, which is much easier for complex fields like repeaters. maiupmappedkeys Enables different meta keys to sync from user to post meta. Useful when keys are different from user to post meta. Returns an array of 'userkeyname' = 'postkeyname'. The following example syncs an image field that stores the image ID with the post featured i

Read the full README on GitHub →