function shortcode_mis_pedidos( $atts ) {
extract( shortcode_atts( array(
‘order_count’ => -1
), $atts ) );
ob_start();
wc_get_template( ‘myaccount/my-orders.php’, array(
‘current_user’ => get_user_by( ‘id’, get_current_user_id() ),
‘order_count’ => $order_count
) );
return ob_get_clean();
}
add_shortcode(‘pedidos’, ‘shortcode_mis_pedidos’);
Entradas relacionadas
Entrada anterior
CLASES SELECT
Siguiente entrada
4 comentarios
Account binance
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Daftar untuk mendapatkan 100 USDT
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
binance профил
Your article helped me a lot, is there any more related content? Thanks! https://accounts.binance.com/pt-PT/register?ref=DB40ITMB
Code of your destiny
I am extremely impressed along with your writing abilities and also with the layout for your blog. Is that this a paid subject matter or did you modify it yourself? Anyway stay up the nice quality writing, it is uncommon to see a great weblog like this one nowadays!