Skip to content

Commit

Permalink
Merge pull request #52 from dparker1005/mark-mmpu-incompatible
Browse files Browse the repository at this point in the history
Marking the plugin as MMPU-incompatible
  • Loading branch information
dparker1005 authored Oct 13, 2023
2 parents de4c59c + 26ef998 commit 469e79b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pmpro-limit-post-views.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@ function pmpro_lpv_plugin_action_links( $links ) {
}
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'pmpro_lpv_plugin_action_links' );

/**
* Mark the plugin as MMPU-incompatible.
*/
function pmprolpv_mmpu_incompatible_add_ons( $incompatible ) {
$incompatible[] = 'PMPro Limit Post Views Add On';
return $incompatible;
}
add_filter( 'pmpro_mmpu_incompatible_add_ons', 'pmprolpv_mmpu_incompatible_add_ons' );

/**
* Function to add links to the plugin row meta
Expand Down

0 comments on commit 469e79b

Please sign in to comment.