• right now the js for this plugin only gets loaded if the following criteria are met:

    if (bp_is_user_profile_edit() || bp_is_register_page()) {
        $this->load_js();
    }

    but i have a use case where i need to load the js for the plugin where these criteria are not met

    could you provide a hook or flag of something that could be used to manually force load_js() to run?

    thanks!

    • This topic was modified 8 years, 7 months ago by locomo.

The topic ‘need a hook to trigger load_js’ is closed to new replies.