Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customizes frontend position of Product Input field plugin
<?php
/*
Plugin Name: Customize Product Input Field Frontend Position
Description: Customizes frontend position of Product Input Field plugin
Version: 1.0.0
Author: Algoritmika Ltd
Author URI: http://algoritmika.com
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: customize-pif-frontend-position
Domain Path: /languages
*/
add_filter( 'option_' . 'alg_wc_pif_frontend_position', function( $value ){
$value='woocommerce_before_variations_form';
return $value;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.