You appear to be a bot. Output may be restricted
Description
Load the cookie-cat mapping of plugins to cookies
Usage
cookie_cat_info_defaults( $options, $temp );
Parameters
- $options
- ( mixed ) required –
- $temp
- ( mixed ) optional –
Returns
voidSource
File name: cookie-cat/shortcodes/cookie-cat.phpLines:
1 to 17 of 17
function cookie_cat_info_defaults( $options, $temp=false ) { if ( $temp ) { $xmlfile = cookie_cat_default_temp_xml(); } else { $xmlfile = cookie_cat_default_saved_xml(); } if ( !file_exists( $xmlfile ) ) { $xmlfile = cookie_cat_default_xml(); } bw_trace2( $xmlfile, "xmlfile", false ); // $request_url = oik_path( $xmlfile, "cookie-cat" ); $response_xml = simplexml_load_file( $xmlfile ); bw_trace2( $response_xml, "response_xml", false ); return( $response_xml ); }View on GitHub View on Trac