What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-20 06:03:02
magento 2 change customer group programmatically
<?php namespace [Company Name]\[Module Name]\Observer\Frontend\Customer; use Magento\Framework\Event\ObserverInterface; class RegisterSuccess implements \Magento\Framework\Event\ObserverInterface { const CUSTOMER_GROUP_ID = 2; protect... Add solution -
PHP 2021-09-14 03:37:02
read an email with php
<?php //Modify it for your project class Email_reader { // imap server connection public $conn; // inbox storage and inbox message count private $inbox; private $msg_cnt; // email login credentials private $server = 'yourserver.com'; private... Add solution -
PHP 2021-09-13 09:40:02
singleton in php
// General singleton class. class Singleton { // Hold the class instance. private static $instance = null; // The constructor is private // to prevent initiation with outer code. pri... Add solution
Best helpers
Ranking is empty