From the GitHub-Wiki
The 'front_end_editor_disable'
-filter
Use this filter if you want to completely disable the plugin for certain URLs.
Callback arguments:
bool $disable
: The current state. Default: false
You can use conditional tags: Conditionals tags return bool true/false
, which means, if you want to disable it on a page, simply use is_page()
, as it returns true
for pages…
Disable FEE on pages, as a (mu)plugin.
<?php
/** Plugin Name: (#73660) Disable Front Page Editor on pages */
function wpse73660_disable_on_author_pages( $disable )
{
return is_author();
}
add_filter( 'front_end_editor_disable', 'wpse73660_disable_on_author_pages' );
Related Posts:
- How to add “Stick this post to the front page” to front end?
- Handling jQuery Component Collision
- Let readers suggest edits from the frontend
- How to notify users of blog updates a la Admin Plugin Update notifications?
- Using rewrite rule to access a view of a plugin from home page
- Restrict backend but allow to use post.php?action=delete&post=POSTID from front-end
- Datepicker not supporting timepicker
- Frontend editing, Frontend user dashboard
- How could I execute my plugin just in frontend (not in backend)
- Handling jQuery Component Collision
- Preview featured image using frontend post plugin
- Implement Autocomplete for a custom field on WordPress Plugin Frontend
- How to add a full edit link to front-end editor?
- Show an image in my header.php
- ob_start() combined with wp_query
- Front end inline editing?
- How to call plugin functions in a custom template
- Add script into front from my plugin
- Fullscreen Video/GIF Intro
- AJAX on Front-End Button Click not working – Custom Plugin
- How to handle WordPress Plugin Front-end AJAX Call [duplicate]
- Front-end CSS Library for plugin [closed]
- How to do the simplest possible frontend ajax call from a plugin?
- Enqueue script: link not working in page source
- How to request admin-ajax.php correctly when wordpress URL and site URL are different?
- How to auto strip hyperlinks & images in wordpress post
- Create a link which allows visitors to disable a plugin?
- Categories from front-end, checkbox selection doesn’t work
- Effeciently adding Checkboxes to TablePress table cells
- Push Contact form 7 variable to front end after submission
- Adding shortcodes to multiple pages with function
- WordPress User profile with Avatar upload on the front end without plugin?
- WordPress website working fine on localhost but not displaying front pages on webhost
- How To Toggle User_Meta in frontend in a form using PHP
- Unset plugins on front-end belonging to specific category
- How to fix blog article view and share #’s?
- How to upload PDF from Front-End and post automatically?
- What action or filter can I use to change all the html returned from server for a page?
- Front End Page Not Loading Header Footer
- What action/hook do I need to register to have my plugin handle front-end editing?
- ‘Easy Template Path Hints’ for WordPress?
- Why doesn’t a form need an ‘action’ with a plugin that uses the post data?
- How to add featured image on front end form?
- AJAX doesn’t pass variables to the php function in the plugin
- Working on fixing wp-front-end-editor, encountering undefined index
- Get a submitted value from front end post form for single template
- WordPress User Frontend Editing Custom Fields
- custom registration form [duplicate]
- map urls to plugins
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- When does WordPress.org notify sites of new version?
- Set active theme via URL
- How is the WordPress.org plugin download history calculated?
- How To Add an Extra Field in All WordPress Available Widgets?
- Is there a plugin which disables other plugins for mobile browers?
- Twitter-like follow system, is there any plugin?
- WordPress Plug-In Active installation count
- Two people sharing user in WordPress [closed]
- WordPress Multisite plugin delegation
- How to check if you are on widget.php page?
- How to get current post user id
- Plugin. Html code in Template
- wp_redirect() not working in Insert PHP plugin in WordPress
- switched from query_posts to WP_query, not working now?
- Rotate Widgets or Content Blocks every x sec/min
- Matching Chapters to a Custom posts [closed]
- Product queue for my subscription box
- Updating plugins asks for FTP information, why? (this is a new one)
- Create Gallery using Custom Post Type and add sum gallery as sub gallery of Main Gallery
- How to add Wrapper Div/container element around WordPress Widget Content
- Duplicate New User Registration notices (BuddyPress and bbPress both installed)
- How to show the number of website visitors in my theme
- Free paypal cart solution [closed]
- How to integrate together a website currently hosted WordPress.com and a custom web application currently hosted on Azure?
- Error When Trying To Login [closed]
- unable to remove malware from wp website [closed]
- How to create plugin auto create page wordpress?
- Scrape a webpage for image and add it to post
- Block wordpress style for my plugin admin page
- how can authors to define custom pages?
- Send a Notification to a WordPress Theme
- Load extra post content from plugin, after load basic post content
- Trying to get property ‘ID’ of non-object in /wp-includes/class-wp-query.php on line 4044
- WordPress asks to update a plugin already updated
- Why do I need to reload the page for WordPress to see the new custom field added with jQuery
- How to store a secret for a plugin inside public_html
- Do images in plugins automatically load?
- WordPress:Custom banner from psd trying to cut out a button area so the website link can be clicable not working
- Global $wp_admin_bar always returns null
- How to prevent encoding plugin HTML output to entities?
- WordPress FTP/media directory permissions problem?
- accessibility of an object created in a plugin, from the header
- How to check my WordPress.org site MySQL queries generating items?
- No feedback when installing plugins or updating
- WooCommerce – Adding notice above products on Shop Home [closed]
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- how to know that a wordpress plugin support using API?
- Activate plugin button do nothing [closed]
- How to know if your code is executed on wordpress.com and wordpress.org?
- I want to include My theme file (testing.php) to inside my plugin folder (myplugin/mypugin.php)