• Hello,

    This plugin is a feature I was just about to create, and then fumbled upon your implementation. It’s working great!

    However, if I may suggest to add a filter to modify the ajax form output would be great, something like this:

    foreach ( $posts as $post ) {
    $output = sprintf(
    '<option value="%1$s">%2$s (%1$s)</option>',
    esc_attr( $post->ID ),
    esc_attr( $post->post_title ),
    );
    $output = apply_filters('cp_exporter_ajax_form_output', $output, $post);
    echo $output;
    }

The topic ‘Ajax form output filtering’ is closed to new replies.