# acymailing/10.11.1/back/Core/wordpress/miscellaneous.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version 10.11.1. 64 lines.

- Page: https://pluginprobe.com/plugins/acymailing/10.11.1/code/back/Core/wordpress/miscellaneous.php
- Raw: https://pluginprobe.com/plugins/acymailing/10.11.1/raw/back/Core/wordpress/miscellaneous.php
- Modified: 2026-04-27T12:11:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/acymailing/10.11.1/code/back/Core/wordpress/miscellaneous.php#L10-L20`.

```php
<?php

function acym_addBreadcrumb(string $title, string $link = ''): void
{
}

function acym_setPageTitle(string $title): void
{
}

function acym_isLeftMenuNecessary(): bool
{
    return false;
}

function acym_getLeftMenu(string $name): string
{
    return '';
}

function acym_isPluginActive(string $plugin, string $family = 'system'): bool
{
    return true;
}

function acym_disableCmsEditor(): void
{
    add_filter(
        'user_can_richedit',
        function ($a) {
            return false;
        },
        50
    );
}

function acym_isElementorEdition(): bool
{
    global $post;

    if (empty($post) || !class_exists('\\Elementor\\Plugin')) return false;

    return \Elementor\Plugin::$instance->db->is_built_with_elementor($post->ID);
}

function acym_scheduleTask(array $options, int $taskId = 0): ?int
{
    if (wp_next_scheduled($options['name'])) {
        return 1;
    }

    return true === wp_schedule_event(time(), $options['taskFrequency'], $options['name']) ? 1 : 0;
}

function acym_deleteScheduledTask(array $options): bool
{
    $timestamp = wp_next_scheduled($options['name']);
    if ($timestamp) {
        return true === wp_unschedule_event($timestamp, $options['name']);
    }

    return true;
}

```
