Support » Plugin: Code Manager » Premium vs regular

  • Resolved anoorani

    (@anoorani)


    Hi All,

    I am trying to use code-manager’s hooks such as ‘wpda_before_list_table’ in my environment.
    I am finding that the callback are not getting invoked and I am not sure why.
    What I found is that my simple php code runs, but not the callbacks.
    I have couple of thoughts, but was not sure:

    1. My code-manager list view does not say code-manager premium? Do I need premium to have this functionality? I am on a local machine, if that makes any difference.

    2. I have setup WordPress using ‘localwp’ It allows me to easily setup multiply WordPress sites locally and give me access to each site with http://<site-name&gt;.local I don’t access the site with localhost or 127.0.0.1. Not sure if that has any impact?

    Any help would be greatly appreciate it.

    Thanks,

    <?php
    wp_get_current_user();
    $current_user_id = wp_get_current_user();
    echo "Current User ID: " . $current_user_id->user_login;
    
    function addhello( $self ) {
    	echo 'Hiiii!!!!';
    }
    add_action( 'wpda_before_simple_form', 'addhello', 10, 1);
    add_action( 'wpda_after_simple_form', 'addhello', 10, 1);
    add_action( 'wpda_before_list_table', 'addhello', 10, 1);
    add_action( 'wpda_after_list_table', 'addhello', 10, 1);
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @anoorani,

    Hooks and filters need to run as back-end code, for which you need a premium license. For local installations the premium version is free. Can you run on localhost?

    Thanks,
    Peter

    Thread Starter anoorani

    (@anoorani)

    Hi @peterschulznl,

    Thank you so much for your quick response. I am up and running and was able to test the various call back.

    Regards,
    ~Aman

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.