## Get Order details from “woocommerce_order_details_after_order_table”

Question
I want to show "Order details" with certain statuses (2) of the order in short code taken from "woocommerce_order_details_after_order_table". After login, the client is directed to a dashboard where details are displayed. To save him the ability to open orders-> ...
0
4 days 0 Answers 5 views

## Manipulating show_on_front, page_on_front, page_for_posts and template hierarchy

Question
I need to overwrite the show_on_front, page_on_front, page_for_posts options values for some reasons. I am setting show_on_front to 'page' and the other both to two different page id. If I change these settings in Administration > Settings > Reading panel ...
0
5 days 0 Answers 7 views

## Change AJAX filter from POST to GET for URL Parameters

Question
I have a well defined AJAX filter, in two parts, one for a load more button, and one for a selection of drop down filters. Both reload a list of properties on the front-end in AJAX, and work together ...
0
6 days 0 Answers 8 views

## Mystery line break

Question
I have a coding noob question if someone wouldn't mind taking a squiz. Trying to get the title placed on the same line as the label, i.e Label: Title Currently it's formatted as: Label: Title <p> <?php echo ...
0
1 week 0 Answers 11 views

## How to checking for conditions before going to payment page on checkout page

Question
0 I am making a webshop and i have some issue with add_filter. When a customer is on a the checkoutpage, i want to check some condition when customer clicks on place order. Before it go's to the payment page. And show ...
0
2 weeks 0 Answers 14 views

## Is it possible to apply filter to meta key value when querying posts?

Question
I am querying my posts and I am applying pricing orderby sorting filters below. But my product_price_from meta field contains a number which is inputted as various currencies. GBP, USD, AED etc. Because the suppliers are from different parts of the ...
0
2 weeks 0 Answers 14 views

Question
I want to display products that are related either by category or attributes (not tags) I've modified the solution posted here here to my needs: function custom_related_product_args ( $args ){ global$product; $cats ... 0 2 weeks 0 Answers 16 views ## Create Post Types from a XML url (Real Estate website) Question I have a URL provided by my Real Estate service that lists, in a XML file, every apartment and house that I have to sell. The XML url lists every detail of every apartment, things like images, year of building, floor, ... 0 2 weeks 0 Answers 17 views ## using filter and hook inside class Question I'm going deep with oop to create wordpress plugins. I've found an interesting article about the hooks and how to use them inside a class. After reading I have some doubt: is correct to use the hooks ... 0 2 weeks 0 Answers 18 views ## Remove filter callback: method in class Question I need to disable this filter:$message = apply_filters( 'woocommerce_mail_content', $this->style_inline($message ) ); The style_inline() function exist in a class called WC_Email. So I tried: remove_filter("woocommerce_mail_content", WC()->WC_Email->style_inline()); But it was a wild guess and it didn't work. Link to the full apply_filters code:
0
3 weeks 0 Answers 19 views