Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: YITH premium plugin activation #21188
    Francisca Matamala
    Participant

    Ok so now has more lines … This worked for me ….

    /** @since 3.0.0 */
    // if( version_compare( PHP_VERSION, ‘7.0’, ‘>=’ ) ) {
    //add_action( ‘admin_notices’, function () {
    // $this->activate_license_notice();
    // }, 15 );
    //}

    //else {
    //add_action( ‘admin_notices’, array( $this, ‘activate_license_notice’ ), 15 );
    //}

Viewing 1 post (of 1 total)