• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Parsed Source / Parsed: 49357
function genesis_admin_plugins_api_result( $res, $action, $args ) {
  if ( isset( $args->author ) && 'studiopress' === $args->author ) {
    usort( $res->plugins, 'genesis_admin_plugins_sort_callback' );

    // Bring Atomic Blocks to the top.
    foreach ( $res->plugins as $key => $plugin ) {
      $plugin_data = (array) $plugin;
      if ( 'atomic-blocks' === $plugin_data['slug'] ) {
        unset( $res->plugins[ $key ] );
        array_unshift( $res->plugins, $plugin );
      }
    }
  }

  return $res;
}
 

Published: 25th November 2019 | Last updated: 25th November 2019

Primary Sidebar

Information

Source ref: genesis_admin_plugins_api_result() – Filter the results of the plugin api results.
Parse count / Source file date: 1557494434
MD5 hash: 6504af73ef2e1ca71cdaa64da71a94a3

Footer

Genesis a2z
Genesis Theme Framework a2z
WordPress Dynamic API Reference
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  genesis.wp-a2z.org
© Copyright Genesis a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites