mycred_sell_this_button

This filter allows you to make adjustments to the button the Sell Content add-on renders for users who have not purchased access to content set for sale.

mycred_sell_content_priority

This filter allows you to change the priority of the Sell Content add-ons content filtering.

mycred_get_content_buyers_count

This function returns the total number of unique users that have purchased a given post.

mycred_get_content_sales_count

This function returns the total number of times a particular posts content has been purchased.

mycred_get_content_price

This function returns the set price for a post that has been set for sale using the Sell Content add-on.

mycred_sell_content_new_purchase

This function will attempt to charge a given user for a piece of content that has been set for sale using the Sell Content add-on.

mycred_sell_content_payment_buttons

This function will return all available payment buttons that a user can use, in order to pay for a posts content.

mycred_content_purchase_has_expired

This function will check if a content payment has expired or not.

mycred_user_paid_for_content

This function checks if a given user has a valid and active payment for a specific post that is set for sale.

mycred_post_is_for_sale

This function checks if a specific post is set for sale in the Sell Content add-on.

mycred_post_type_for_sale

This function checks if a given post type is set for sale in the Sell Content settings.

mycred_sell_content_post_id

This function attempts to get the current posts ID.

mycred_get_content_price

This filter allows you to adjust the price of a given content.

mycred_post_is_for_sale

This filter allows you to adjust the results of checking if a given post is set for sale using the Sell Content add-on.

mycred_content_buyer_count

This shortcode renders the total number of users that have purchased the content. Must be used inside the loop, either in the content field or in your theme’s template files.

mycred_content_sale_count

This shortcode renders the total number of times the content has been purchased. Must be used inside the loop, either in the content field or in your theme’s template files.