Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42998, comment 7


Ignore:
Timestamp:
01/09/2018 05:01:09 AM (7 years ago)
Author:
alexvorn2
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42998, comment 7

    initial v1  
    44$args['before_widget'] = preg_replace( '/(?<=\sclass=["\'])/', 'widget_text ', $args['before_widget'], 1 );
    55}}}
     6
     7But what if we have wrapper div elements? ... that will appear before not only after.