// When the user profile form is updated, this snippet checks if the business_name field matches a preexisting vendor post title. // If so, a vendor profile claim request is sent to the ‘Vendor Claims’ admin page // This snippet…Continue reading
// When the user profile form is updated, this snippet checks if the business_name field matches a preexisting vendor post title. // If so, a vendor profile claim request is sent to the ‘Vendor Claims’ admin page // This snippet…Continue reading
// When the user profile form is updated, this snippet checks if the business_name field matches a preexisting vendor post title. // If so, a vendor profile claim request is sent to the ‘Vendor Claims’ admin page // This snippet…Continue reading
/* WHITE LABEL ADMIN DASHBOARD: Modify the admin footer text */ add_filter( ‘admin_footer_text’, ‘rd_modify_admin_footer’ ); function rd_modify_admin_footer () { echo ‘Website managed by Rebellion Marketing | [email protected]‘; } /* WHITE LABEL ADMIN DASHBOARD: Replace Link URL */ add_filter( ‘login_headerurl’, ‘rd_login_url’…Continue reading
add_filter( ‘aioseo_sitemap_images’, /** * Find new images inside the post content which has Elementor galleries. * It only works for self-hosted attachments. * * @param array $images The images already found. * @param object $post The post object * @return…Continue reading
/** * Custom shortcode to display WPForms form entries in table view. * * Basic usage: [wpforms_entries_table id=”FORMID”]. * * Possible shortcode attributes: * id (required) Form ID of which to show entries. * user User ID, or “current” to…Continue reading
add_action( ‘elementor/query/earthfruits_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘earthfruits’, ‘earthfruits-tools’, ‘earthfruits-patreonmods’, ‘earthfruits-servermods’, ‘earthfruits-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); }…Continue reading
add_action( ‘elementor/query/campers_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘motorhomes’, ‘campers’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading