Skip to content
View ewistrand's full-sized avatar
🦸‍♂️
🦸‍♂️
  • Truly Free
  • Traverse City Michigan

Block or report ewistrand

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Loop through paged request with Python Loop through paged request with Python
    1
        import requests
    2
        
    3
        
    4
        resp = requests.get('https://url.com/api/endpoint').json()
    5
        data = resp['data']
  2. Woocommerce disable requirement of p... Woocommerce disable requirement of payment
    1
    <?php
    2
    
                  
    3
    // woocommerce cart disable requirement of payment
    4
    add_filter('woocommerce_cart_needs_payment', '__return_false');
    5
    
                  
  3. Turn line breaks into paragraph tags Turn line breaks into paragraph tags
    1
    if(! function_exists('nl2p')) {
    2
        function nl2p($str) {
    3
            $arr = explode("\n", $str);
    4
    
                  
    5
            $out = '';
  4. Add tags to wordpress search Add tags to wordpress search
    1
    <?php
    2
    // ADD Tags To SEARCH
    3
    function my_smart_search( $search, &$wp_query ) {
    4
        global $wpdb;
    5
     
  5. WP Add New User Role Example WP Add New User Role Example
    1
    <?php
    2
    /**
    3
     * WP Add New User Role
    4
     */
    5
    function wps_add_role() {
  6. Wordpress Admin Thumbnails Wordpress Admin Thumbnails
    1
    <?php
    2
    /**
    3
     * Add Thumbnails To Admin & size them to max at 200px
    4
     */
    5
    add_filter('manage_posts_columns', 'posts_columns', 5);