# Remove WP Actions Function Removes PG-DATA attributes as well

**URL:** <https://forum.pinegrow.com/t/remove-wp-actions-function-removes-pg-data-attributes-as-well/6958>\
**Category:** WordPress\
**Tags:** bug\
**Created:** [September 14, 2022, 6:08pm UTC](https://forum.pinegrow.com/t/remove-wp-actions-function-removes-pg-data-attributes-as-well/6958 "2022-09-14T18:08:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Post date:** [September 14, 2022, 6:08pm UTC](https://forum.pinegrow.com/t/remove-wp-actions-function-removes-pg-data-attributes-as-well/6958/1 "2022-09-14T18:08:48Z")

</div>

When I run the Remove WordPress Actions function, Pinegrow seems to also remove data-pg-name attributes. It doesn’t seem to remove other attributes from my limited testing, but it’s frustrating when I have a nicely labeled DOM and all that gets stripped away.

See video below for a 1-minute demo

[  
Remove WordPress Actions Function removes more than just WP information - Watch Video  
  ![](https://cdn.loom.com/sessions/thumbnails/d76cf667ad004de9870ea18c5b76aa2c-with-play.gif)](https://www.loom.com/share/d76cf667ad004de9870ea18c5b76aa2c)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/c8cecbc8a96928f9b08c5171a3c8ad0c89bff667.jpeg)
