Title: Hoeboe
Author: Twice Two Media
Published: <strong>4 دسامبر 2018</strong>
Last modified: 1 آوریل 2020

---

جستجوی افزونه‌ها

![](https://ps.w.org/hoeboe/assets/banner-772x250.png?rev=1985172)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/hoeboe/assets/icon-256x256.png?rev=1985172)

# Hoeboe

 توسط [Twice Two Media](https://profiles.wordpress.org/twicetwomedia/)

[دانلود](https://downloads.wordpress.org/plugin/hoeboe.0.1.4.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/hoeboe/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/hoeboe/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/hoeboe/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/hoeboe/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/hoeboe/)

## توضیحات

Easily update WordPress transients in the background via AJAX to increase site speed
and avoid long page load times. Hoeboe can be especially helpful with caching of
large external API calls or heavy internal database queries.

If you’ve used the WordPress Transients API, you already know how useful it can 
be with caching, page load, and site speed. If you’ve used transients to store data
from external API calls or from heavy internal database queries, then you also know
a few of its limitations. Namely, page load can be negatively impacted on the user
session where a large transient gets updated.

Hoeboe helps to solve this problem of the one-off user who has to deal with potentially
long page load while your site refreshes a transient in the background. With Hoeboe,
you can choose to update those large transients in the background via AJAX. Your
users won’t notice anything different – other than possibly faster overall site 
speed.

## نصب

Upload the Hoeboe plugin and activate Hoeboe within wp-admin settings. You’ll then
be ready to upgrade your WordPress transients.

See the example below detailing how to use Hoeboe in your theme:

**Basic Implementation of a Transient**

    ```
    <?php
    //WP_Query function to be used to get data
    function my_function_to_get_featured_posts($category, $posts_per_page) {
        $posts = new WP_Query(
          array(
                "category" => $category,
                "posts_per_page" => $posts_per_page
          )
        );
        return $posts;
    }

    //Attempt to get transient
    $transient_name = "foo_featured_posts";
    $featured = get_transient( $transient_name );

    //Check for transient. If none, then execute WP_Query function
    if ( false === ( $featured ) ) {

        $category = "featured";
        $posts_per_page = "5";
        $featured = my_function_to_get_featured_posts($category, $posts_per_page);

        //Put the results of the query in a transient. Expire after 12 hours.
        $expiration_time = 12 * HOUR_IN_SECONDS;
        set_transient( "foo_featured_posts", $featured, $expiration_time );
    } 
    ?>
    ```

**Using Hoeboe with that same Transient outlined above**

    ```
    <?php
    //WP_Query function to be used to get data
    function my_function_to_get_featured_posts($category, $posts_per_page) {
        $posts = new WP_Query(
          array(
                "category" => $category,
                "posts_per_page" => $posts_per_page
          )
        );
        return $posts;
    }

    $transient_name = "foo_featured_posts";
    $my_function_name = 'my_function_to_get_featured_posts';
    $category = "featured";
    $posts_per_page = "5";
    $my_function_parameters = array($category, $posts_per_page);
    $transient_expire = 60;
    $expiration_time = 12 * HOUR_IN_SECONDS;

    if (class_exists('Hoeboe')) {
        $hoeboe = new Hoeboe();
        $transient_value = $hoeboe->hoeboe__updatetransient($transient_name, $my_function_name, $my_function_parameters, $expiration_time);
    }
    ?>
    ```

#### Links

 * [Detailed installation and implementation guide](https://twicetwomedia.com/wordpress-plugins/).

## سوالات متداول

  Does Hoeboe replace WordPress transients?

**No.** Hoeboe works alongside the Transients API to help you cache data better 
and, ultimately, provide a better user experience for your site visitors.

  If I activate Hoeboe, will it automatically affect all current WordPress transients
that I use?

**No.** You must implement Hoeboe individually within your theme even after the 
Hoeboe plugin is activated. Hoeboe is set up this way so that you can pick and choose
which transients to use Hoeboe on.

  How do I implement Hoeboe on a transient?

**Only a couple of simple steps.** Visit the link below for more information.

[Detailed installation and implementation guide](https://twicetwomedia.com/wordpress-plugins/).

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Hoeboe” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Twice Two Media ](https://profiles.wordpress.org/twicetwomedia/)

[ترجمه “Hoeboe” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/hoeboe)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/hoeboe/)، [مخزن SVN](https://plugins.svn.wordpress.org/hoeboe/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/hoeboe/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/hoeboe/) مشترک شوید.

## گزارش تغییرات

#### 0.1.4

_Release Date – Mar 31, 2020_
 * Include new file

#### 0.1.3

_Release Date – Mar 31, 2020_
 * Only include jQuery if it is not already registered*
Improve admin settings

#### 0.1.2

_Release Date – Jul 23, 2019_
 * Fix PHP warnings on activation / deactivation

#### 0.1.1

_Release Date – Dec 9, 2018_
 * Tested up to WordPress 5.0 * Enqueue jQuery if not
already present * Better handle multiple Hoeboe/Transient calls on one page * Better
handle multiple Hoeboe/Transient requests in a short time frame

#### 0.1.0

_Release Date – Dec 1, 2018_
 * Initial release

## اطلاعات

 *  نگارش **0.1.4**
 *  آخرین به‌روزرسانی **6 سال پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 3.5 یا بالاتر **
 *  آزمایش‌شده تا **5.4.21**
 *  نگارش PHP ** 5.3 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/hoeboe/)
 * برچسب
 * [ajax](https://fa.wordpress.org/plugins/tags/ajax/)[api](https://fa.wordpress.org/plugins/tags/api/)
   [cache](https://fa.wordpress.org/plugins/tags/cache/)[caching](https://fa.wordpress.org/plugins/tags/caching/)
   [transients](https://fa.wordpress.org/plugins/tags/transients/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/hoeboe/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/hoeboe/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/hoeboe/reviews/)

## مشارکت کنندگان

 *   [ Twice Two Media ](https://profiles.wordpress.org/twicetwomedia/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/hoeboe/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://twicetwomedia.com/wordpress-plugins/)