Useful for preventing PII from being tracked.
Usage:
- In GA4 config tag set
page_location={{Page URL (PII Stripped)}}. - In UA's GA Settings, set
page={{UA Pageview URL (PII Stripped)}} andlocation={{Page URL (PII Stripped)}}.
Useful for preventing PII from being tracked.
Usage:
page_location={{Page URL (PII Stripped)}}.page={{UA Pageview URL (PII Stripped)}} and location={{Page URL (PII Stripped)}}.| var h, aa = this, | |
| k = function(a) { | |
| return void 0 !== a | |
| }, | |
| ba = function(a) { | |
| a.R = function() { | |
| return a.kb ? a.kb : a.kb = new a | |
| } | |
| }, | |
| ca = function(a) { |
| document.querySelector('iframe[src*="about"]').contentWindow.angular.element(document.querySelector('iframe[src*="about"]').contentWindow.document.querySelector('[ng-app]')).injector().get("$log").debug = function(){}; |
| span.alpha { | |
| background-position: 0px 0px; | |
| content: "alpha is the awesome"; | |
| border-top: 0px ; | |
| } | |
| span.beta { | |
| background-position: 50px 0px; | |
| content: "beta is the awesome"; | |
| } | |
| span.theta { |
This is an adaptation of the Sass/Less comparison document.
Not a comprehensive overview of features of either library but a comparison of commonalities.
Sass | Crush
| $is-included : () !default; | |
| @mixin once( $name ) { | |
| @if include-once( $name ) { | |
| @content; | |
| } | |
| } | |
| @function include-once( $name ) { | |
| @if index( $is-included, $name ) { |
| define( 'CHILD_THEME_VERSION', filemtime( get_stylesheet_directory() . '/style.css' ) ); |
| <?php | |
| $date = new DateTime('now'); | |
| echo $date->format('d/m/Y').PHP_EOL; // format: day/month/year | |
| echo $date->format('m-d-Y').PHP_EOL; // format: month-day-year | |
| echo $date->format('Y-m-d').PHP_EOL; // format: year-month-day | |
| // add 3 days to current date and output using format year-day-month | |
| echo $date->setTimestamp( strtotime('+3 days', $date->getTimestamp()) )->format('Y-d-m'); |
| (function($){ | |
| var media = wp.media, | |
| jeditor = { | |
| oldMainMenu : media.view.MediaFrame.Post.prototype.mainMenu, | |
| init : function(){ | |
| media.view.MediaFrame.Post.prototype.mainMenu = function(view){ | |
| jeditor.oldMainMenu(view); | |
| var jState = new media.controller.Library({ | |
| id: 'test', | |
| library: media.query({uploadedTo: media.view.settings.post.id}), |
| <?php | |
| class DocBlock { | |
| public $docblock, | |
| $description = null, | |
| $all_params = array(); | |
| /** | |
| * Parses a docblock; |