I have the same problem here. After some debugging, I realized that myCRED_Hook_Site_Visits::visit
is not being ever called.
I suspect this is happening because the modules are loaded on mycred_init
hook. After the module is loaded, the myCRED_Hook_Site_Visits::run
is called and do the folowing:
add_action( 'mycred_init', array( $this, 'visit' ) );
But the mycred_init
hook is already happening.
Is that right? Running WP 3.9.1.