Config example

Add this code into functions.php file of your active theme

add_filter( 'jet-ptfo/config', function( $config ) {

	$config[] = array(
		'page' => 'option-page-slug',
		'option' => 'option-name',
		'popup' => 123,
	);

	return $config;
} );

where:

  • option-page-slug - you need to replace with your actual option page slug;
  • option-name - you need to replace with option name/ID from this page which will control popup visibility
  • 123 - its a popup ID you need to launch. It can be found in the address bar on the popup edit page

Please note - this plugin replaces only popup conditions logic, open event still need to be set in the popup settings section