<?


function jb_editor_content( $content ) {
    // Polylang sets the 'from_post' parameter
    if ( isset( $_GET['from_post'] ) ) {
        $my_post = get_post( $_GET['from_post'] );
        if ( $my_post )
            return $my_post->post_content;
    }

    return $content;
}
add_filter( 'default_content', 'jb_editor_content' );


// Copiar titulo al crear traduccion desde post...
function jb_editor_title( $title ) {
    // Polylang sets the 'from_post' parameter
    if ( isset( $_GET['from_post'] ) ) {
        $my_post = get_post( $_GET['from_post'] );
        if ( $my_post )
            return $my_post->post_title;
    }

    return $title;
}
add_filter( 'default_title', 'jb_editor_title' );

?>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//eletton.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://eletton.com/post-sitemap.xml</loc>
		<lastmod>2022-03-25T13:11:57+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/page-sitemap.xml</loc>
		<lastmod>2025-02-06T12:38:29+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/project-sitemap.xml</loc>
		<lastmod>2021-07-30T12:16:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/category-sitemap.xml</loc>
		<lastmod>2022-03-25T13:11:57+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/post_tag-sitemap.xml</loc>
		<lastmod>2022-01-20T14:48:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/project_category-sitemap.xml</loc>
		<lastmod>2021-07-30T12:16:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://eletton.com/author-sitemap.xml</loc>
		<lastmod>2021-04-12T18:22:39+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->