    $linea = '[EL-503] ' . json_encode(
        array_merge(
            array(
                'fecha_utc' => gmdate( 'Y-m-d\TH:i:s\Z' ),
                'pid'       => getmypid(),
                'evento'    => $evento,
            ),
            $datos
        ),
        JSON_UNESCAPED_SLASHES
    ) . PHP_EOL;

    if ( false === @file_put_contents( $lp_log_path, $linea, FILE_APPEND | LOCK_EX ) ) {
        error_log( $linea );
    }
};

$lp_log( 'INICIO_MU', array( 'post_id' => (int) ( $_POST['editor_post_id'] ?? 0 ) ) );

add_action( 'plugins_loaded', static function () use ( $lp_log ) {
    $lp_log( 'PLUGINS_CARGADOS' );
}, PHP_INT_MAX );

add_action( 'admin_init', static function () use ( $lp_log ) {
    $lp_log( 'ADMIN_INIT' );
}, PHP_INT_MAX );

// Se ejecuta justo antes del manejador de guardado (si la peticion llega a WordPress).
add_action( 'wp_ajax_elementor_ajax', static function () use ( $lp_log ) {
    $lp_log( 'AJAX_ELEMENTOR_INICIADO' );
}, -1000 );

// Muestra si Elementor alcanza a escribir su estructura en la base de datos.
$lp_meta_log = static function ( $meta_id, $post_id, $meta_key ) use ( $lp_log ) {
    if ( $meta_key === '_elementor_data' && (int) $post_id === (int) ( $_POST['editor_post_id'] ?? 0 ) ) {
        $lp_log( 'ELEMENTOR_DATA_ESCRITA' );
    }
};
add_action( 'added_post_meta', $lp_meta_log, 10, 3 );
add_action( 'updated_post_meta', $lp_meta_log, 10, 3 );

register_shutdown_function( static function () use ( $lp_start, $lp_log ) {
    $error = error_get_last();
    $fatal = $error && in_array( $error['type'], array( E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR ), true );

    $lp_log( 'FIN_PHP', array(
        'duracion_ms' => (int) round( ( microtime( true ) - $lp_start ) * 1000 ),
        'pico_memoria_mb' => round( memory_get_peak_usage( true ) / 1048576, 1 ),
        'http_php' => http_response_code(),
        'fatal' => $fatal ? array(
            'tipo' => $error['type'],
            'archivo' => $error['file'],
            'linea' => $error['line'],
            'mensaje' => substr( $error['message'], 0, 300 ),
        ) : null,
    ) );
} );<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//letsprowess.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://letsprowess.com/post-sitemap.xml</loc>
		<lastmod>2024-04-06T01:48:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://letsprowess.com/page-sitemap.xml</loc>
		<lastmod>2026-11-17T15:24:06+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://letsprowess.com/product-sitemap.xml</loc>
		<lastmod>2024-02-17T01:22:26+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://letsprowess.com/sr_playlist-sitemap.xml</loc>
		<lastmod>2024-01-09T20:36:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://letsprowess.com/category-sitemap.xml</loc>
		<lastmod>2024-04-06T01:48:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://letsprowess.com/product_cat-sitemap.xml</loc>
		<lastmod>2024-02-17T01:22:26+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->