🦸♂️
Product owner, development team leader and man of many hats at Truly Free.
-
Truly Free
- Traverse City Michigan
Pinned Loading
-
Loop through paged request with Python
Loop through paged request with Python 1import requests
234resp = requests.get('https://url.com/api/endpoint').json()
5data = resp['data']
-
Woocommerce disable requirement of p...
Woocommerce disable requirement of payment 1<?php
23// woocommerce cart disable requirement of payment
4add_filter('woocommerce_cart_needs_payment', '__return_false');
5 -
Turn line breaks into paragraph tags
Turn line breaks into paragraph tags 1if(! function_exists('nl2p')) {
2function nl2p($str) {
3$arr = explode("\n", $str);
45$out = '';
-
Add tags to wordpress search
Add tags to wordpress search 1<?php
2// ADD Tags To SEARCH
3function my_smart_search( $search, &$wp_query ) {
4global $wpdb;
5 -
WP Add New User Role Example
WP Add New User Role Example 1<?php
2/**
3* WP Add New User Role
4*/
5function wps_add_role() {
-
Wordpress Admin Thumbnails
Wordpress Admin Thumbnails 1<?php
2/**
3* Add Thumbnails To Admin & size them to max at 200px
4*/
5add_filter('manage_posts_columns', 'posts_columns', 5);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.