https://github.com/shaileshdevs/wordpress-post-contributors-plugin
WordPress plugin to show multiple selected post contributors on single post page
https://github.com/shaileshdevs/wordpress-post-contributors-plugin
wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
WordPress plugin to show multiple selected post contributors on single post page
- Host: GitHub
- URL: https://github.com/shaileshdevs/wordpress-post-contributors-plugin
- Owner: shaileshdevs
- License: gpl-2.0
- Created: 2023-12-04T06:21:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-24T11:46:51.000Z (over 1 year ago)
- Last Synced: 2025-02-07T18:51:47.708Z (4 months ago)
- Topics: wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WordPress Post Contributors Plugin by Shailesh
## The following files are being used for all plugin functionalities
```
├── assets
│ └── css
│ └── frontend
│ └── post-contributors-list.css
├── includes
│ ├── admin
│ │ └── class-post-contributors-metabox.php
│ ├── controller
│ │ └── class-post-contributors.php
│ ├── frontend
│ │ └── class-post-contributors-display.php
│ └── class-init.php
├── templates
│ └── frontend
│ └── post-contributors-list.php
├── shvsh-post-contributors.php
└── uninstall.php
```## Filters
```php
//loc: includes/admin/class-post-contributors-metabox.php
/**
* This filter can be used to change who can have the access to configure the post contributors.
*
* @param bool $has_access True if user has access, false otherwise.
* @param int $user_id User Id.
* @param int $post_id Post Id.
*/
apply_filters( 'shvsh_has_post_contributors_configuration_access', $has_access, $user_id, $post_id );
``````php
//loc: includes/admin/class-post-contributors-metabox.php
/**
* This filter can be used to modify the post contributors.
*
* @param array $post_contributors_ids The post contributors ids.
* @param int $post_id The post id.
*/
apply_filters( 'shvsh_post_contributors_from_post_request', $post_contributors_ids, $post_id );
```
Steps
*Step 1 - Go to Post Edit Page*
*Step 2 - Select the Post Contributors*
*Step 3 - Update the Post*
*Step 4 - That's it. View the Post Contributors on Your Post :thumbsup:*
