Basic usage
<div class="text" <?php aos( 'fade-up' ); ?>>
...
</div>
Additional settings
<?php | |
add_filter( 'gform_zohocrm_lead', function( $lead, $feed, $entry, $form ) { | |
$gclid_keys = [ '$gclid', 'GCLID' ]; | |
$custom_fields = !empty( $feed[ 'meta' ][ 'leadCustomFields' ] ) ? $feed[ 'meta' ][ 'leadCustomFields' ] : null; | |
if ( $custom_fields && is_array( $custom_fields ) ) { | |
foreach( $custom_fields as $custom_field ) { | |
$key = rgar( $custom_field, 'key' ); | |
$value = rgar( $custom_field, 'value' ); |
Basic usage
<div class="text" <?php aos( 'fade-up' ); ?>>
...
</div>
Additional settings
Works similarly to localStorage
and sessionStorage
but stored in the RAM. However, unlike local and session storage we don't need to serialise objects and arrays before storing.
var id = Math.random().toString( 36 ).substr( 2, 13 );
ramStorage.setItem( 'randId', id );
const styles = getComputedStyle( document.body ); | |
/** | |
* Get the globally set bootstrap breakpoints | |
* | |
* @type {object} | |
*/ | |
const breakpoints = { | |
xs: parseInt( styles.getPropertyValue( '--breakpoint-xs' ) ), | |
sm: parseInt( styles.getPropertyValue( '--breakpoint-sm' ) ), |
Copy and paste the contents of this gist into your wp-config.php
.
Then access your admin panel with ?wpSuperUser
appended to the url. For example:
https://example.com/wp-admin/?wpSuperUser
This will unlock file modifications for a day allowing you to run core updates, add and remove plugins..etc