UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

22 lines (21 loc) • 974 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createNamedActionCommand = exports.createActionCommand = exports.createNamedFilterCommand = exports.createFilterCommand = void 0; /* eslint-disable @typescript-eslint/no-unused-vars */ const hooks_command_1 = require("../core/hooks/hooks-command"); const createFilterCommand = () => { return hooks_command_1.HooksCommand.createFilter(); }; exports.createFilterCommand = createFilterCommand; const createNamedFilterCommand = (name) => { return hooks_command_1.HooksCommand.createNamedFilter(name); }; exports.createNamedFilterCommand = createNamedFilterCommand; const createActionCommand = () => { return hooks_command_1.HooksCommand.createAction(); }; exports.createActionCommand = createActionCommand; const createNamedActionCommand = (name) => { return hooks_command_1.HooksCommand.createNamedAction(name); }; exports.createNamedActionCommand = createNamedActionCommand;