A free points management plugin for WordPress.
myCRED Logo
myCRED Logo
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download
    Navigation
    • Loading navigation ...
    All Hooks
    Automatic points for:
    1. AffiliateWP Actions
    2. BadgeOS Achievements
    3. bbPress Actions
    4. BuddyPress Group Actions
    5. BuddyPress Profile Actions
    6. Clicking on Links
    7. Comments
    8. Daily Visits
    9. Deleting Content
    10. Event Attendance
    11. Inviting Users
    12. Jetpack Subscriptions
    13. Logins
    14. Product Purchases
    15. Product Reviews
    16. Publishing Content
    17. Referrals
    18. Registrations
    19. rtMedia Uploads
    20. ShareThis Actions
    21. Simple:Press Actions
    22. Submitting Contact Form 7 Forms
    23. Submitting Gravity Forms
    24. UserPro Followers
    25. UserPro Private Messaging
    26. UserPro Verifications
    27. Viewing Content
    28. Watching Videos
    29. WP Favorite Posts Actions
    30. WP-PostRatings Actions
    Categories
    Filter by category
    1. Actions
    2. Classes
    3. Filters
    4. Functions
    5. Hooks
    6. Objects
    7. Shortcodes
    8. Template Tags
    Chapters
    Documentation
    1. Chapter I - Introduction
    2. Chapter II - Getting Started
    3. Chapter III - Add-ons
    4. Chapter IV - Premium Add-ons
    5. Chapter V - For Developers
    6. Chapter VI - Reference Guides
Publishing Content

Codex / Hooks / WordPress / Publishing Content

Description

This hook allows you to reward your users for publishing content on your website with an option to enforce a limit.

Available since version 1.0

Known Issues

This hook awards points when a post’s status changes to publish. Points are however not awarded when a post is restored from the trash or if points have already been awarded in the past.

Setup

You need to set a point amount you want to give (or take) users for each post type that your users can publish, and the log entry template.

You can set a limit how many times a user can get point in a given time period.

Video Demo

Supported Instances
Instance Reference Description
publishing_content Give or take points from users for publishing content.

About myCred

myCred is a free, open-source and developer friendly points management tool for WordPress powered websites.

Download Rate Plugin

Documentation

  • Add-ons
  • Core Shortcodes
  • F.A.Q.
  • Tutorials
  • Third Party Plugins
  • Code Snippets

Support

  • Product Licenses
  • Customization
  • Support Forums
  • Plugin Changelog
  • Contact

Copyright 2013 - 2019 byWPExperts; All rights reserved. myCred is licensed under GPL 2.0

Terms & Conditions • Use of Cookies • Store Policy • Community Rules

Suggest Codex Example

You can submit suggestions for codex examples that you have available as a public gist. If you are a member on the mycred.me website, you can earn Tokens for each submission. To claim these Tokens, make sure you provide your mycred.me username.

Please make sure the example you submit is relevant and if you include documentation, it's provided in English.

logo
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download