why can i embed wordpress admin into an iframe?

Hello to the whole community, as my question indicates, I would like to be able to insert an iframe in my portfolio (which is not a wordpress) and this iframe, I would like it to contain the page “www.mysite.com/wp-admin” but this does not work.

With the page “www.mysite.com”, it works but not with the admin.

Several posts on this subject say that it is enough to add this:

Remove_action ('login_init', 'send_frame_options_header', 10, 0);
Remove_action ('admin_init', 'send_frame_options_header', 10, 0);

But it does not work either.

Somebody would have an idea?

Read more here: why can i embed wordpress admin into an iframe?

Leave a Reply

Your email address will not be published. Required fields are marked *