Certifications
vertisub_create_certification_post_type()
Registers a custom post type for certifications with archive support. Location:inc/cpts/certification.php:8
This function does not return a value.
- Public post type with archive enabled
- Supports: title, editor, thumbnail
- Menu icon: dashicons-awards
- URL slug:
certificaciones
Clients
vertisub_create_team_post_type()
Registers a custom post type for clients (customers/partners). Location:inc/cpts/clients.php:12
This function does not return a value.
- Public post type without archive
- Supports: title, editor, thumbnail
- Menu icon: dashicons-businessperson
- URL slug:
clientes
Countries
vertisub_create_paises_post_type()
Registers a custom post type for countries with contact information. Location:inc/cpts/countries.php:10
This function does not return a value.
- Public post type without archive
- Supports: title, editor
- Menu icon: dashicons-location-alt
- URL slug:
paises - Custom metabox for country information
vertisub_add_paises_metaboxes()
Adds metabox for country information fields. Location:inc/cpts/countries.php:38
Adds a metabox to the paises post type edit screen.
vertisub_render_paises_metabox()
Renders the country information metabox with dynamic fields. Location:inc/cpts/countries.php:51
The post object being edited.
_pais_slug- Country code (e.g., ESP, COL, MEX)_contacto- Contact name_direccion- Address_correos[]- Array of email addresses_telefonos[]- Array of phone numbers_whatsapps[]- Array of WhatsApp numbers
vertisub_save_paises_meta()
Saves country metabox data with nonce verification. Location:inc/cpts/countries.php:175
The ID of the post being saved.
Saves country meta data to the database.
Courses
vertisub_create_cursos_post_type()
Registers a custom post type for courses with comprehensive metadata. Location:inc/cpts/courses.php:11
This function does not return a value.
- Public post type without archive
- Supports: title, editor, thumbnail
- Menu icon: dashicons-awards
- URL slug:
cursos - Extensive metabox for course details
vertisub_cursos_metaboxes()
Adds metabox for course details. Location:inc/cpts/courses.php:40
Adds a metabox to the cursos post type edit screen.
vertisub_cursos_callback()
Renders the course details metabox with all course fields. Location:inc/cpts/courses.php:55
The post object being edited.
_curso_imagenes[]- Array of image attachment IDs_curso_modalidades[]- Array of course modalities_curso_intro_video- Introduction video URL_curso_testimonios[]- Array of testimonial video URLs_curso_temario[]- Array of syllabus items_curso_url_inscribir- Enrollment URL_curso_url_info- More information URL_curso_url_plataforma- Learning platform URL_curso_url_oficial- Official page URL_curso_instructores[]- Array of instructor post IDs_curso_paises[]- Array of country post IDs_curso_paises_urls[]- Array of contact URLs by country ID_curso_convenios[]- Array of custom agreements with titulo and url
vertisub_save_cursos_metabox()
Saves course metabox data with nonce verification. Location:inc/cpts/courses.php:247
The ID of the post being saved.
Returns post_id if validation fails, otherwise saves data and returns void.
Documents
vertisub_create_documentos_post_type()
Registers a custom post type for country-specific documents. Location:inc/cpts/documents.php:8
This function does not return a value.
- Public post type without archive
- Supports: title, editor
- Menu icon: dashicons-media-document
- URL slug:
documentos-pais - Metabox for document management
vertisub_add_documentos_metaboxes()
Adds metabox for document management. Location:inc/cpts/documents.php:34
Adds a metabox to the documentos_pais post type edit screen.
vertisub_render_documentos_metabox()
Renders the document management metabox with file upload. Location:inc/cpts/documents.php:47
The post object being edited.
_pais_relacionado- Related country post ID_documentos[]- Array of documents with nombre (name) and archivo (file URL)
vertisub_save_documentos_meta()
Saves document metabox data with nonce verification. Location:inc/cpts/documents.php:172
The ID of the post being saved.
Saves document meta data to the database.
Services
vertisub_create_servicios_post_type()
Registers a custom post type for services with multimedia support. Location:inc/cpts/services.php:10
This function does not return a value.
- Public post type without archive
- Supports: title, thumbnail, editor
- Menu icon: dashicons-hammer
- URL slug:
servicios - Multiple metaboxes for multimedia and countries
vertisub_register_servicios_meta_boxes()
Registers multimedia and countries metaboxes for services. Location:inc/cpts/services.php:39
Adds metaboxes to the servicios post type edit screen.
vertisub_servicios_multimedia_callback()
Renders the multimedia metabox for images and videos. Location:inc/cpts/services.php:62
The post object being edited.
_imagenes_reseña[]- Array of image URLs_videos_reseña[]- Array of video file URLs_video_urls_reseña[]- Array of external video URLs (YouTube/Vimeo)
vertisub_servicios_paises_callback()
Renders the countries metabox for service availability. Location:inc/cpts/services.php:216
The post object being edited.
_servicio_paises[]- Array of country post IDs
vertisub_save_multimedia_meta()
Saves multimedia metabox data. Location:inc/cpts/services.php:197
The ID of the post being saved.
Saves multimedia meta data to the database.
vertisub_save_servicios_meta()
Saves service countries metabox data. Location:inc/cpts/services.php:236
The ID of the post being saved.
Saves country associations to the database.
vertisub_add_query_vars()
Adds custom query variable for country-based service filtering. Location:inc/cpts/services.php:252
Array of existing query variables.
Array with pais_slug query variable added.
vertisub_rewrite_rules()
Adds rewrite rule for country-specific service pages. Location:inc/cpts/services.php:259
Adds rewrite rule for URL pattern: servicios-vertisub/

