. */ if ( defined( 'DATAFEEDR_DEV' ) && true === DATAFEEDR_DEV ) { add_action( 'admin_notices', 'dfrapi_development_version_notice' ); function dfrapi_development_version_notice() { $class = 'notice notice-error'; $title = 'WARNING!!!'; $message = 'You are now using a development version of the Datafeedr API plugin. Things WILL BREAK. We do NOT recommend using this version of the plugin! You have been warned.'; echo sprintf( '

%2$s
%3$s

', esc_attr( $class ), esc_html( $title ), esc_html( $message ) ); } include( 'datafeedr-api-v2.php' ); } else { include( 'datafeedr-api-v1.php' ); }