// Remove the author link from bio. add_filter( ‘wpex_post_author_bio_data’, function( $data ) { unset( $data[‘posts_url’] ); return $data; } ); // Remove the author link from code functions which display in post meta. add_filter( ‘the_author_posts_link’, function( $link ) { if…Continue reading
add_action( ‘init’, function() { if ( function_exists( ‘wpex_content_area_layout’ ) && ‘left-sidebar’ === wpex_content_area_layout() ) { remove_action( ‘wpex_hook_primary_after’, ‘wpex_get_sidebar_template’ ); add_action( ‘wpex_hook_primary_before’, ‘wpex_get_sidebar_template’ ); } } );Continue reading
add_filter( ‘wpex_nex_prev_reverse’, ‘__return_true’ );Continue reading
add_filter( ‘wpex_social_share_data_email_body’, function( $body ) { return ‘My custom email body text’; } );Continue reading
add_filter( ‘wpex_social_share_data_email_subject’, function() { return ‘My custom subject’; } );Continue reading
add_filter( ‘totaltheme/replace_vars/vars’, function( $vars ) { // Add a new {{my_custom_var}} custom variable. $vars[‘my_custom_var’] = ‘My variable value’; return $vars; } );Continue reading
define( ‘VCEX_CALLBACK_FUNCTION_WHITELIST’, [ ‘my_custom_function_name_1’, ‘my_custom_function_name_2’, ‘my_custom_function_name_3’, ] );Continue reading
add_action( ‘init’, function() { // Disable subheading on product cats add_filter( ‘totaltheme/page/header/has_subheading’, function( $check ) { if ( is_tax( ‘product_cat’ ) ) { $check = false; } return $check; } ); // Display description below loop add_action( ‘wpex_hook_content_bottom’, function( $bool…Continue reading
add_action(‘admin_head’, ‘my_custom_admin_css’); function my_custom_admin_css() { echo ‘ ‘; }Continue reading
add_action(‘admin_head’, ‘my_custom_admin_css’); function my_custom_admin_css() { echo ‘ ‘; }Continue reading