I am brand new to all this, and have tried a few times to fix this problem to no avail, I need some expert help!!
Every time I try to upload this code I get the following error:
Parse error: syntax error, unexpected T_INCLUDE, expecting T_FUNCTION
/**
* Class Constructor
*/
function __construct() {
$this->plugin_defines();
$this->setup_actions();
}
/**
* Defines To Be Used Anywhere In Wordpress After The Plugin Has Been Initiated.
*/
include'includes/Map_location_post.php';
function plugin_defines(){
define( 'MAP_LIST_PLUGIN_PATH', trailingsla****( WP_PLUGIN_DIR.'/'.str_replace(basename( __FILE__ ),"",plugin_basename( __FILE__ ) ) ) );
define( 'MAP_LIST_PLUGIN_URL' , trailingsla****( WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__ ),"",plugin_basename( __FILE__ ) ) ) );
}
/**
* Setup The Actions To Hook The Plugin Into WordPress At The Appropriate Places
*/
function setup_actions(){
Any help is very much appreciated, thank you in advance!!