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
Invoked by
Calls
1 to 4 of 4
- bw_trace2() – Trace $value to the trace log file if tracing is active
- cookie_cat_default_saved_xml() – Set the location of the "saved" cc_mapping XML file
- cookie_cat_default_temp_xml() – Set the location of the temporary XML file, in the upload directory folder
- cookie_cat_default_xml() – Set the location of the cc_mapping.xml file delivered as part of the plugin
