This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Remove edit link | |
function wpse_remove_get_edit_post_link( $link ) { | |
return null; | |
} | |
add_filter('get_edit_post_link', 'wpse_remove_get_edit_post_link'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "===============================" | |
echo "Installing PHP 7.2" | |
echo "===============================" | |
sudo yum install php72 | |
echo "===============================" | |
echo "Installing PHP 7.2 additional commonly used php packages" | |
echo "===============================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', function() { | |
wp_dequeue_style( 'font-awesome' ); | |
wp_dequeue_script( 'jquery-magnificpopup' ); | |
wp_dequeue_style( 'jquery-magnificpopup' ); | |
wp_dequeue_script( 'jquery-waypoints' ); | |
wp_dequeue_script( 'imagesloaded' ); | |
wp_dequeue_script( 'jquery-throttle' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* *whitelabel* Beaver Builder | |
* Please support Beaver Builder by buying the product at wpbeaverbuilder.com | |
*/ | |
class FLBuilderWhiteLabel { | |
public static function is_white_labeled() { | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.checks { | |
margin-left: 0; | |
li { | |
list-style-type: none; | |
margin-bottom: 20px; | |
&::before { | |
content: ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* --------------------------------------------------- | |
/** WooCommerce Memberships | |
--------------------------------------------------- */ | |
/** | |
* Creates a shortcode to output the "My Memberships" table anywhere on the site | |
* Outputs this section only if the current user has 1 or more memberships | |
* | |
* Use the shortcode: [wcm_my_memberships] |