Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support

General

  • Pay writers per visit on WordPress
  • Shortcodes – Display stats in public pages
  • Define settings priority (user, role, category)
  • Pay per bbPress Topics and Replies
  • Caching features and stats snapshots
  • WP-CLI commands

Payment features

  • Payment features and PayPal payments
  • Setup an effective payment flow for lifetime visits
  • PayPal setup and configuration
  • Set users’ PayPal email address

Developer documentation

  • Add a custom payment criteria
  • Add a custom column to the stats table
  • Set users’ PayPal email address
  • Extract selected information from stats table
  • Handle massive Analytics data imports
  • Backup plugin data
  • Caching features and stats snapshots
  • Hide stats columns from BuddyPress Members page
  • WP-CLI commands

Analytics integration

  • Google Analytics setup and configuration
  • The future of Google Analytics integration and support for GA4
  • Matomo Analytics setup and configuration
  • Plausible Analytics setup and configuration
  • Migrate visits data away from Google Analytics
  • Share Google Adsense revenue with authors
  • Fix the “All Website Data” Analytics label issue
  • Handle massive Analytics data imports

Troubleshooting

  • Fixed a Publisher Bonus issue with complex settings setups
  • Issue with Publisher Bonus negative due payment
  • License activation failure with timeout error
  • Home
  • Docs
  • General
  • Define settings priority (user, role, category)

Post Pay Counter allows quite a fine-grained settings control. By itself, the free version allows to assign different settings to different users, while addons allow to define special settings for given user roles, categories, and post types.

What happens, though, if you have multiple settings addons active? Which settings will actually be used for a post that belongs to a category with special settings, written by an author belonging to a user role with special settings?

The default settings priority is defined as follows:

  1. User settings
  2. Category settings
  3. User role settings
  4. General settings

The ordering of points 1 and 4 cannot be altered: user settings will always have the highest priority, while general settings will always be the final fallback if nothing more special is found. However, Points 2 and 3 can be exchanged. This can be achieved with the following lines of code to be pasted in your theme functions.php (or any similar file).

To enforce the ordering above, with category settings having a higher priority over role settings, use this code:

# Category settings come first
add_action( 'PPC_URCS_settings_priority', function( $priority ) { return 8; } );
add_action( 'PPC_CCS_settings_priority', function( $priority ) { return 9; } );

To enforce the opposite ordering, with role settings having a higher priority over category settings, use this code:

# User role settings come first
add_action( 'PPC_URCS_settings_priority', function( $priority ) { return 9; } );
add_action( 'PPC_CCS_settings_priority', function( $priority ) { return 8; } );

(The Post Type Custom Settings addon is not compatible with the other addons. They can still be used all together, but in case of a settings clash, there is no way, as of now, to control the behavior.)

  • Was this Helpful ?
  • Yes   No
settings
What are your Feelings
Updated on April 14, 2022
Shortcodes – Display stats in public pagesPay per bbPress Topics and Replies

Copyright © 2025 · Centric Theme on Genesis Framework · WordPress · Log in