Automatically Close Popup After 10 Seconds

The following code sample is designed to close a popup (ID: #pum-123 ) after 10 seconds. 

Copy, paste and edit the following code either in your parent or child theme functions.php file, or use  the 'My Custom Functions' plugin.

Replace the popup ID number in the code example with the value assigned to your popup. The ID is located in the WordPress admin at  'Popup Maker' >> 'All Popups' >> 'CSS Classes' (column). The integer value is appended to the class name 'popmake-'