This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First : | |
| $ touch ~/.config/fish/config.fish; nano ~/.config/fish/config.fish | |
| Copy this in the file : | |
| set --export ANDROID $HOME/Library/Android; | |
| set --export ANDROID_HOME $ANDROID/sdk; | |
| set -gx PATH $ANDROID_HOME/tools $PATH; | |
| set -gx PATH $ANDROID_HOME/tools/bin $PATH; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @snippet WooCommerce Snippet: Añadir campo checkbox al checkout y mostrar en el admin del pedido. | |
| * @author Oscar Abad Folgueira | |
| * @author_url https://www.oscarabadfolgueira.com | |
| * @snippet_url https://www.oscarabadfolgueira.com/anadir-un-campo-de-checkbox-opcional-en-el-checkout-de-woocommerce-y-mostrar-en-el-admin-del-pedido | |
| */ | |
| // Añadir un campo checkbox al checkout y al anadir_estado_pedido_enviado_a_estados | |
| add_action( 'woocommerce_review_order_before_submit', 'anadir_campo_checkbox_checkout' ); |
OlderNewer