Post Pay Counter

The best way to pay authors on WordPress

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

How to remove PCC from post edit page?

by

› Forums › Post Pay Counter PRO › Support › How to remove PCC from post edit page?

We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago by Stefano.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 1, 2015 at 11:00 am #34258
    Denis
    Keymaster

    Hello Stefano,

    Can you please advise how to remove post pay counter menu from post edit page for all users except Administrator, as I don’t want anyone to see that data? I’m talking about this menu http://gyazo.com/60306074426c5ba66ab9b044ec957a1f

    Thanks,
    Denis.

    February 1, 2015 at 4:14 pm #34268
    Stefano
    Keymaster

    Hi Denis,
    it is possible to hide the box as explained in the #8 faq, but I’m afraid I fear there’s currently no way to display it only to select users/user roles. You may hide it altogether by commenting out certain line of codes for now (if needed, I’ll tell you which ones), that’s the only thing you could do as of now.

    Have a nice day,
    Stefano

    February 3, 2015 at 9:52 pm #34457
    Denis
    Keymaster

    Hello, Stefano,

    Thank you. Please let me know the line that should be deleted. I’m fine with removing it for all users.

    Thanks,
    Denis.

    February 3, 2015 at 10:54 pm #34463
    Stefano
    Keymaster

    Around line 115 of post-pay-counter-pro.php, change
    add_action( 'add_meta_boxes', array( $this, 'post_page_metabox' ) );

    To

    //add_action( 'add_meta_boxes', array( $this, 'post_page_metabox' ) );

    Please note that you’ll have to do this again for every time the plugin is updated, as you will lose custom modifications 🙂

    Have a nice day,
    Stefano

    February 5, 2015 at 9:37 pm #34585
    Denis
    Keymaster

    Thank you Stefano. Is there any possibility of adding disabling option in the setting?

    Denis.

    February 5, 2015 at 10:37 pm #34587
    Stefano
    Keymaster

    I’ll think about it for future releases 🙂

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to remove PCC from post edit page?’ is closed to new replies.

Your cart

Number of items in cart: 0

  • Your cart is empty.
  • Total: €0.00
  • Checkout

What are you looking for?

BEFORE POSTING

Before posting, please please please do have a look at our Documentation section. Your problem may be addressed there, allowing you to solve it without help from us :)

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