WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
preg_replace line break before inserting description (2 posts)

  1. maikelrichard
    Member
    Posted 1 year ago #

    I would like to enter a search and replace before inserting the description of the video in the database.

    My videos have the character "---" for line break, did it thinking exatamento the plugin, now I want to put in php codido

    preg_replace ('---', '<br />', $ s);

    which part of the code put to the description before insertion in database

    for the descriptions of my videos go to line break in wordpress

    my video for check description

    http://wordpress.org/extend/plugins/automatic-youtube-video-posts/

  2. mpraetzel
    Member
    Plugin Author

    Posted 1 year ago #

    You'll want to take a look at the /core/parse.php file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic