You appear to be a bot. Output may be restricted
Description
Define a cookie, category and callback for description
Usage
$array = cookie_cat_info( $cookie_cat, $cookie_duration, $cookie_cb );
Parameters
- $cookie_cat
- ( string ) optional default: 2 – Category as defined by the ICC UK Cookie Guide
- $cookie_duration
- ( string ) optional – expiration of the cookie
- $cookie_cb
- ( mixed ) optional –
Returns
array $cookie infoSource
File name: cookie-cat/shortcodes/cookie-cat.phpLines:
1 to 7 of 7
function cookie_cat_info( $cookie_cat=2, $cookie_duration=null, $cookie_cb=null ) { if ( !$cookie_cb ) { $cookie_cb = "cookie_cat_desc_defaults"; } $cookie_info = array( 'cat' => $cookie_cat, 'dur' => $cookie_duration, 'cb' => $cookie_cb,); return( $cookie_info ); }View on GitHub View on Trac