Due to the simplicity of this plugin I'm using procedural code rather than object-oriented code.
Since WordPress increased the minimum PHP version from 5.2 to 5.6 (in April 2019), PHP namespaces are available on all WordPress sites running a WordPress supported version (note: at the time of this writing PHP 7.2 is the oldest version still covered under security support, see PHP supported versions).
Therefore we should introduce a namespace to avoid function name collisions.
Due to the simplicity of this plugin I'm using procedural code rather than object-oriented code.
Since WordPress increased the minimum PHP version from 5.2 to 5.6 (in April 2019), PHP namespaces are available on all WordPress sites running a WordPress supported version (note: at the time of this writing PHP 7.2 is the oldest version still covered under security support, see PHP supported versions).
Therefore we should introduce a namespace to avoid function name collisions.