Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter THEPNTR

    (@thepntr)

    I found the solution myself

    I created a new function like:

    function AppStoreLinks_plugin2($content)
    {
    	return (preg_replace_callback(APPSTORELINKS_REGEXP2, 'AppStoreLinks_plugin_callback2', $content));
    	return (preg_replace_callback(APPSTORELINKS_LINK, 'AppStoreLinks_plugin_callback2', $content));
    }

    then I added a new filter:
    add_filter('the_content', 'AppStoreLinks_plugin2');

    then I created a new AppStoreLinks_plugin_callback function namned AppStoreLinks_plugin_callback2. And just edited that out so there would be another $outbput.

    Please tell me if this is totally wrong. I’m pretty new to this like I mentioned earlier. ??

Viewing 1 replies (of 1 total)