Hupso Share Buttons for Twitter, Facebook & Google+
[resolved] IF function (in case temporary deactivate) (4 posts)

  1. afjsystem
    Posted 2 years ago #

    hi Kasal, ..

    i'd like to ask you, can i use this function (just in case i need to deactivate the plugins temporary) :

    <?php if(function_exists('[hupso]')){ do_shortcode( '[hupso]' );} ?>

    but it seems not working.. any suggestion ?


  2. kasal
    Plugin Author

    Posted 2 years ago #

    You can enable/disable Hupso plugin from PHP code like this:

    To enable:
    $HUPSO_SHOW = true;

    To disable:
    $HUPSO_SHOW = false;

    @afjsystem: I read your review. Can you send me more details why you had to clear your browser cache to get the plugin working. I would like to look into it.

  3. afjsystem
    Posted 2 years ago #

    ok i sent you the details.

    yups but sometime if i need to deactivated, i do not need to tweak the code again. so it will result the error, because can't call do_shortcode[hupso].

    If every i need to deactivate temporary, so i have to turn the $HUPSO_SHOW true and false..? that's ok for me but maybe someone else doesn't want to do that.

  4. afjsystem
    Posted 1 year ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hupso Share Buttons for Twitter, Facebook & Google+
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic