PHP code example of pickles2 / px2-remove-attr

1. Go to this page and download the library: Download pickles2/px2-remove-attr library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pickles2 / px2-remove-attr example snippets




$conf->funcs->processor->html = [
    // HTML属性を削除する
    'tomk79\pickles2\remove_attr\main::exec('.json_encode(array(
        "attrs"=>array(
            'data-remove-test',
            'data-remove-2-test',
        ) ,
    )).')' ,
];