Making WordPress.org

Changeset 13869

Timestamp:
06/29/2024 07:14:03 AM (5 weeks ago)
Author:
dd32
Message:

Plugin Directory: Import: Add a filter on the plugin import data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php

    r13856 r13869  
    926926        } ) );
    927927
    928         return compact( 'readme', 'stable_tag', 'last_modified', 'last_committer', 'last_revision', 'tmp_dir', 'plugin_headers', 'assets', 'tagged_versions', 'blocks', 'block_files' );
     928        return apply_filters(
     929            'wporg_plugins_export_and_parse_plugin',
     930            compact( 'readme', 'stable_tag', 'last_modified', 'last_committer', 'last_revision', 'tmp_dir', 'plugin_headers', 'assets', 'tagged_versions', 'blocks', 'block_files' ),
     931            $plugin_slug,
     932            $this,
     933        );
    929934    }
    930935
Note: See TracChangeset for help on using the changeset viewer.