What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-20 00:10:03
función para generar slug directamente en MySQL
DROP FUNCTION IF EXISTS `slugify`; DELIMITER ;; CREATE FUNCTION slugify(str VARCHAR(255)) RETURNS VARCHAR(255) LANGUAGE SQL DETERMINISTIC NO SQL SQL SECURITY INVOKER BEGIN DECLARE slug, allowed_chars VARCHAR(255); DECLARE current_char V... Add solution -
Shell/Bash 2022-03-19 23:20:42
path configuration cmd
setx path "%path%;c:\dir1\dir2" Add solution -
Other 2022-03-19 15:05:02
which is the main template in woocommerce checkout
wp-content/plugins/woocommerce/templates/checkout/form-checkout. php is the main file. It's recommended that you copy the template folder It's recommended to copy over the template folder with the files you wish to change from the woocommerce plugin direc... Add solution -
Other 2022-03-19 11:35:22
save router config with ansible
---- hosts: router gather_facts: false vars: git_branch: /etc/ansible/playbooks/backuptasks:---- hosts: router gather_facts: false vars: git_branch: /etc/ansible/playbooks/backuptasks: - name: switch to target branch command: git checkout &q... Add solution -
Other 2022-03-19 11:00:14
woocommerce custom payment process method
function process_payment( $order_id ) { global $woocommerce; $order = new WC_Order( $order_id ); // Mark as on-hold (we're awaiting the cheque) $order->update_status('on-hold', __( 'Awaiting cheque payment', 'woocommerce' )); // R... Add solution