function is_wp_version_too_old() { global $wp_version; return !function_exists('rest_api_init') || version_compare($wp_version, '4.4-z', '<='); }