I hereby claim:
- I am ville6000 on github.
- I am ville6000 (https://keybase.io/ville6000) on keybase.
- I have a public key whose fingerprint is A620 5F32 FA5C BEC1 986E 5C53 5946 9096 577B 12AA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
class KnowitTelltale | |
{ | |
public function hooks(): void | |
{ | |
add_action( | |
'rest_api_init', | |
\Closure::fromCallable([$this, 'registerRestRoutes']) | |
); |
<?php | |
public function allowed_block_types( $allowed_blocks, $post ) { | |
$blocks = [ | |
'core/block' => [], | |
'core/template' => [], | |
'core/heading' => [], | |
'core/paragraph' => [], | |
'core/image' => [ | |
'post_types' => [ |
<?php | |
$pll = new PLL_Admin( PLL()->links_model ); | |
$pll->add_filters(); | |
$pll_pro = new Polylang_Pro(); | |
$pll_pro->load_modules( $pll ); | |
global $wpdb; | |
$post_type = 'your-post-type'; |
<?php | |
/** | |
* Remove product data tabs | |
* | |
* @param array $tabs Array of product tabs. | |
* | |
* @return array | |
*/ | |
function theme_remove_product_tabs( $tabs ) { | |
unset( $tabs['description'] ); |
<?php | |
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); |
<?php | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); |
<?php | |
add_action( 'woocommerce_product_options_general_product_data', 'add_my_custom_data' ); | |
public function add_my_custom_data() { | |
global $post; | |
?> | |
<div class="options_group"> | |
<?php | |
woocommerce_wp_text_input( [ |
<?php | |
function theme_yoastseo_opengraph_image_size() { | |
return 'large'; | |
} | |
add_filter( 'wpseo_opengraph_image_size', 'theme_yoastseo_opengraph_image_size', 10 ); | |
function theme_yoastseo_twitter_image_size() { | |
return 'large'; |
var record = { | |
loss: 0, | |
win: 0 | |
}; | |
var lastResult = false; | |
var currentStreak = 0; | |
jQuery('.record').find('tr').each(function(idx, el) { | |
if (idx > 0) { |