Front End vs. Back End access in ProSites, Wordpress Menu in Menu Editor Pro

Hi There!
I have a brief question and I'm hoping you'll point me to the right resource to get answers.

With the Pay to Blog feature in ProSites is there an option that allows the client to access the back-end during development (so they can add written copy) before they have to pay for the front end to go live once complete?

Thanks!
Steve

  • Nahid

    Hey Steven Mizer !
    Hope you are having a great day!

    You can add the following code to your theme's (most preferably, child theme's) functions.php file in order to allow your clients have access to the back-end when "Pay to Blog" module is in action:

    add_filter( 'pre_option_psts_signed_up', function(){
        return false;
    }, 9999 );

    Alternatively, you can also put the code in a mu-plugin. That'll require you to paste the mentioned code in a PHP file that ends with the extension .php, e.g. "anyname.php". The mentioned code must have a "<?php" definition at the start of the file. This PHP file should be placed in {your root WordPress folder}/wp-content/mu-plugins (you'll need to create the folder named "mu-plugins" if it is not there already).

    Hope this helps. Let us know if this works for you. Thanks!

    Kind regards,
    Nahid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.