Plugin Directory

Changeset 1251845


Ignore:
Timestamp:
09/23/2015 08:24:42 AM (11 years ago)
Author:
sendmail2krrish
Message:

code edited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ah-social-share/trunk/ah-social-share.php

    r1250802 r1251845  
    2222}
    2323
    24 add_filter ('the_content', function ($content) {
     24add_filter ('the_content', 'ah_post_function');
     25function ah_post_function($content) {
    2526    global $post;
    2627    if(is_single()) {
     
    3536    }
    3637    return $content;
    37 });
     38}
    3839
    3940// ===================
Note: See TracChangeset for help on using the changeset viewer.