Answers for "is possible to create sessions in wordpress"

PHP
0

create session in wordpress

/* create session in wordpress and php by [email protected] */
if (!session_id()) {
    session_start();
}

  if ( isset( $_POST['wp-submit'] ) ){

    $_SESSION['username']=$_POST['log'];

  }
Posted by: Guest on January-27-2021

Code answers related to "is possible to create sessions in wordpress"

Browse Popular Code Answers by Language