You are here

function hook_popup_onload_check_display_conditions in Popup On Load 7

Same name and namespace in other branches
  1. 8 popup_onload.api.php \hook_popup_onload_check_display_conditions()

Check popup display conditions.

Should return TRUE or FALSE. If at least one FALSE value is returned from any module, popup is not displayed.

See also

popup_onload_check_display_conditions()

1 function implements hook_popup_onload_check_display_conditions()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

popup_onload_popup_onload_check_display_conditions in ./popup_onload.module
Implements hook_popup_onload_check_display_conditions().
1 invocation of hook_popup_onload_check_display_conditions()
popup_onload_check_display_conditions in ./popup_onload.module
Determine whether the popup is allowed to display.

File

./popup_onload.api.php, line 30
Hooks provided by the Popup On Load module.

Code

function hook_popup_onload_check_display_conditions($popup_onload) {
  return !popup_onload_check_time_cookie($popup_onload);
}