• Resolved serks

    (@serks)


    HI Paul,

    I am trying to get Achievements to work with WP Customer Reviews plugin by Go Web Solutions.

    Problem is, there are no do_action’s in this plugin…these lines are the only ones that contain any actions…

    add_action('the_content', array(&$this, 'do_the_content'), 10); /* prio 10 prevents a conflict with some odd themes */
            add_action('init', array(&$this, 'init')); /* init also tries to insert script/styles */
    
            add_action('admin_init', array(&$this, 'admin_init'));
            add_action('template_redirect',array(&$this, 'template_redirect')); /* handle redirects and form posts, and add style/script if needed */
    
            add_action('admin_menu', array(&$this, 'addmenu'));
            add_action('wp_ajax_update_field', array(&$this, 'admin_view_reviews')); /* special ajax stuff */
            add_action('save_post', array(&$this, 'admin_save_post'), 10, 2); /* 2 arguments */
            add_filter('plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'plugin_settings_link'));

    Would I be able to use one of them?
    Thanks

    http://wordpress.org/extend/plugins/achievements/

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Hi serks,

    Short answer is no. You need do_actions. I’d suggest you suggest to the author of that plugin to add filters and actions so that other plugins can extend its functionality 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Getting it to work with WP Customer Reviews plugin’ is closed to new replies.