Stock.php 271 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php namespace ACA\WC\Editing\View; use ACP; class Stock extends ACP\Editing\View { public function __construct() { parent::__construct( 'wc_stock' ); } public function set_manage_stock( $enable ) { return $this->set( 'manage_stock', (bool) $enable ); } }