partner-discount-sdk
2 months ago
CdataStrategy.php
2 months ago
CdataStrategyAlways.php
2 months ago
CdataStrategyFactory.php
2 months ago
CdataStrategyIllegalCharacters.php
2 months ago
CdataStrategyIllegalCharactersHtmlEntities.php
2 months ago
CdataStrategyNever.php
2 months ago
XMLWriter.php
2 months ago
chunk.php
2 months ago
config.php
3 years ago
download.php
2 months ago
handler.php
2 months ago
helper.php
2 months ago
input.php
2 months ago
installer.php
2 months ago
session.php
11 years ago
wpallimport.php
2 months ago
zip.php
4 years ago
CdataStrategyAlways.php
13 lines
| 1 | <?php |
| 2 | |
| 3 | // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound,WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound,WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- legitimate plugin prefixes (pmxe/PMXE/wpae/Wpae/wp_all_export/wpallexport/XmlExport/CdataStrategy/VariableProductTitle/Soflyy/GF_Export); Plugin Check does not honor phpcs.xml prefix declaration |
| 4 | require_once('CdataStrategy.php'); |
| 5 | |
| 6 | class CdataStrategyAlways implements CdataStrategy |
| 7 | { |
| 8 | public function should_cdata_be_applied($field, $hasSnippets = false) |
| 9 | { |
| 10 | return true; |
| 11 | } |
| 12 | |
| 13 | } |