Hook: php_admin_pages_sql

1099

Use this hook to execute PHP code in the admin/page.php file on two locations. This hook is located when edit or create a new page.

For example:

if (empty($news) && !empty($defaults['jak_shownewsmany'])) {
		    	$insert .= $defaults['jak_showorder'];
		    }