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

Mai User Post

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/maithemewp/mai-user-post/archive/refs/heads/master.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
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