This file contains 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 | |
// app/code/local/Namespace/Modulename/Eav/Model/Entity/Increment/Numeric.php | |
/** | |
* Changes the next id behaviour so that all stores share the same increment | |
* for orders, invoces, creditmemos and shipments if they share the same | |
* increment prefix. | |
* | |
* 1. In eav_entity_type leave increment_model to be the default eav/entity_increment_numeric | |
* |
This file contains 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 | |
// Published under GPL | |
// tutorial here: https://codeable.io/community/how-to-import-json-into-wordpress/ | |
class Developer_Import { | |
public function __construct() { | |
add_action( 'wp_ajax_import_developer', array( $this, 'import_developer' ) ); |