public/wordpress/wp-content/plugins/wishlist-member-addon-for-wp-courseware/wp-courseware-wishlist-member.php
/**
 * Initialize the membership plugin, only loaded if WP Courseware 
 * exists and is loading correctly.
 */
Initialize the membership plugin, only loaded if WP Courseware
exists and is loading correctly.
Initialize the membership plugin only loaded if WP Courseware exists and is loading correctly .
function WPCW_Members_WishList_init()
{
	$item = new WPCW_Members_WishList();
	if (!$item->found_wpcourseware()) {
		$item->attach_showWPCWNotDetectedMessage();
		return;
	}
	if (!$item->found_membershipTool()) {
		$item->attach_showToolNotDetectedMessage();
		return;
	}
	$item->attachToTools();
}
function WPCW_Members_WishList_init ( ) { $ item = new WPCW_Members_WishList ( ) ; if ( ! $ item -> found_wpcourseware ( ) ) { $ item -> attach_showWPCWNotDetectedMessage ( ) ; return ; } if ( ! $ item -> found_membershipTool ( ) ) { $ item -> attach_showToolNotDetectedMessage ( ) ; return ; } $ item -> attachToTools ( ) ; }
Initialize the membership plugin, only loaded if WP Courseware
 exists and is loading correctly.
Initialize the membership plugin only loaded if WP Courseware exists and is loading correctly .
// Check for WP Courseware // Not found the membership tool // Found the tool and WP Coursewar, attach.