WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
How to filter Content retrieved by FEE (2 posts)

  1. davidosullivan
    Member
    Posted 2 years ago #

    Hi there,

    I am just wondering what method FEE uses to get the post content? It does not seem to just use the content on the page but gets the post via ajax.

    Thing is I am filtering the outputted content (at the moment I am hooking into loop_start) and ideally I'd like to filter the content that Aloha gets aswell.

    So at the moment I am doing
    add_action('loop_start', 'create_banner');
    could I change that so it changes the content that aloha gets aswell?

    Cheers

    David

    http://wordpress.org/extend/plugins/front-end-editor/

  2. scribu
    Member
    Plugin Author

    Posted 2 years ago #

    The ajax handler responsible for retrieving post content is here:

    https://github.com/scribu/wp-front-end-editor/blob/2.2.1/php/fields/post.php#L64

    There are no intermediary filters added by FEE, so you should look inside get_post_field().

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic